my life

day to day

Archive for August 15th, 2007

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

Wednesday, August 15th, 2007



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

add to del.icio.us    add to technorati favs   email this