nikomou
04-04-2009, 10:17 AM
Hello,
How could i convert the string "18/04/2009" into the format "Sat 18th Apr 09"
I've tried using this:
$EventDate = strtotime("$EventDate");
$EventDate = date('D jS M y', $EventDate);
But this doesnt work as the string isnt in the correct format :(
How could i convert the string "18/04/2009" into the format "Sat 18th Apr 09"
I've tried using this:
$EventDate = strtotime("$EventDate");
$EventDate = date('D jS M y', $EventDate);
But this doesnt work as the string isnt in the correct format :(