If the format is always as above, this should work:
$pieces = explode("-", $yourTimestring); $timestamp = mktime(0,0,0,$pieces[1], $pieces[0], $pieces[2]); $newDateStr = date("mdy", $timestamp);
Edit: True, I just saw the answer from "codaddict", and yes, if I shared it, you could also link it directly ^^
enricog
source share