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

When I execute the code above I get the following

Tue Dec 11 2001 instead Wed Dec !2 2001

Why does this happen and how can I get the Dec 12 
output?  Thanks

Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 

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

Reply via email to