Answers for "convert day month year to date php"

PHP
1

php convert number to month

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

php days in month

// For given month
echo cal_days_in_month(CAL_GREGORIAN, 1, 2021);
// For current month
echo date('t');
Posted by: Guest on January-27-2021

Code answers related to "convert day month year to date php"

Browse Popular Code Answers by Language