On 3 May 2002 at 12:04, ROBERT MCPEAK wrote:
> $blah=2002-05-02;
> $thedate = date("D, M d, Y", strtotime($blah));       
> $echo "$thedate";

$blah will = 1995. Try putting quotes around the date...

$blah = "2002-05-02";

-- 
Stuart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to