seahorse123
Programmer
I want to convert the string($date) from "Apr 5 2003 12:00AM" to "04/05/03", what function I should use, I tried:
$date="Apr 5 2003 12:00AM"
but it returns: 12/31/1969
anyone can help? thanks.
Code:
date('m/d/Y',$date);
but it returns: 12/31/1969
anyone can help? thanks.