PHP – first day of the current month
by Jay on Aug.20, 2010, under PHP
A really quick post mainly for myself, because I will need to remember this at some stage in the future
$startDate=date(“Y-m-d”, strtotime(date(‘m’).’/01/’.date(‘Y’).’ 00:00:00′));
Enjoy!
No comments for this entry yet...