If I\'ve got a date string:
$date = \"08/20/2009\";
And I want to separate each part of the date:
$m = \"08\"; $d = \"20\";
One way would be to do this:
$time = strtotime($date); $m = date('m', $time); $d = date('d', $time); $y = date('Y', $time);