Originally posted by Paul Ferrie
Thats a bit harsh, it pretty obviuos what i am trying to do.
i want to take 12/06/05
and convert to 2005-06-12
Date output 2006-01-06
Thanks
WTF?!?!? I want to solve your problem, not work around it, but hell here's a work around enjoy
$date = '12/06/05';
list($day,$month,$year) = explode('/',$date);
$date = date('m-d-y', mktime(0,0,0,$day,$month,$year);
enjoy, I hope that example isn't too harsh for your sensitive eyes...