$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 output: 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! http://auctions.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php