$date1 = "10/12/2002";
$date1 = date("D M j Y", strtotime($date1));
$date2 = date("D M j Y");
$date3 = date("D M j Y", $date1);
print $date1."<br>";
print $date2."<br>";
print $date3."<br>";    

The code above gives me the following output:

Fri Oct 11 2002
Mon Feb 4 2002
Wed Dec 31 1969

Is the strtotime() function causing this problem?
Thanks.


__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to