Answers for "get time of first day and last day of month php"

PHP
1

first day of month php

$first_day = date('Y-m-01');   $last_day = date('Y-m-t');
Posted by: Guest on August-29-2021
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

Code answers related to "get time of first day and last day of month php"

Browse Popular Code Answers by Language