sounds like it might have something to do with leap year.

Jim Lucas
----- Original Message ----- 
From: "toni baker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 12:03 PM
Subject: [PHP] date problems


> $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
> 
> 


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

Reply via email to