Answers for "get next month name in php"

PHP
1

get next month first day php

$config_month  = 1;
$config_day = 1;

$new_expiry_date = date('Y-m-d', mktime(0, 0, 0, date('m') + $config_month, 1 + $config_day, date('Y')));
Posted by: Guest on January-08-2021
1

full month name php

echo date("F", strtotime('2016-05-17 16:41:51'));
Posted by: Guest on August-30-2021

Browse Popular Code Answers by Language