Answers for "php date 1 digit month"

PHP
4

+1 month php

$time = strtotime("2010.12.11");
$final = date("Y-m-d", strtotime("+1 month", $time));
Posted by: Guest on August-07-2020
1

php number to month

$monthNum  = 3;
$monthName = date('F', mktime(0, 0, 0, $monthNum, 10)); // March
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language