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

后端 未结 0 1414
感情败类
感情败类 2020-12-21 10:21

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);

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