What is best solution to get next and previous month from given date php

后端 未结 0 997
悲&欢浪女
悲&欢浪女 2020-12-21 10:32

I want to get next and previous month from given date. this is my code.

$month = \'2011-01-20\';

$prevMOnth = funP($month); $nextMonth = funN($month);

相关标签:
回答
  • 消灭零回复
提交回复
热议问题