Home  »  CodeGuidesProgrammingSnippetsTechnology   »   PHP Get Next Month from Given Date

PHP Get Next Month from Given Date

Posted: January 2, 2023 | by Michael Bright

Use this PHP get next month frmo a given date example.

$ts = time();
$date = date( 'Y-m-d', $ts);
$monthYear = date('F, Y', strtotime($date. ' + 1 months'));

Found this article interesting? Follow Brightwhiz on Facebook, Twitter, and YouTube to read and watch more content we post.