Answers for "php days in timestamp"

PHP
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
0

php date + 30 days

echo date('d/m/Y',strtotime('+30 days',strtotime(str_replace('/', '-', '05/06/2016')))) . PHP_EOL;
Posted by: Guest on July-30-2020

Code answers related to "php days in timestamp"

Browse Popular Code Answers by Language