Forum Moderators: coopster
$timestamp = '2006-10-30T00:00:00-08:00'; print strftime [php.net]('%d-%m-%Y', strtotime [php.net]($timestamp)); // 30-10-2006 print strftime('%A, %B %d, %Y', strtotime($timestamp)); // Monday, October 30, 2006
So it'd just be 1, not 01.
%e - day of the month as a decimal number, a single digit is preceded by a space (range ' 1' to '31')
I don't believe there is one for month though