Archive for August 15, 2007

Using strtotime(…) in PHP to calculate the last day of the month



$unixtime 
strtotime(strftime('%Y-%m-01 - 1 second',
strtotime('next month')));