Return to Snippet

Revision: 42201
at March 1, 2011 07:20 by ericmuyser


Initial Code
$date = date(time());
$start_date = date('Y-m-d', mktime(00, 00, 00, date('m', strtotime($date))+1, 01));
$end_date = date('Y-m-d', mktime(23, 59, 59, date('m', strtotime($date))+2, 00));

Initial URL

                                

Initial Description

                                

Initial Title
Beginning and End Date of Specified Month

Initial Tags
php, date

Initial Language
PHP