RE: [PHP] Problem with Date (2003-03-30)
| From: | Johnson, Kirk | Date: | Wed, 29 Jan 2003 17:59:10 +0000 |
| Subject: | RE: [PHP] Problem with Date (2003-03-30) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-133538@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Gareth Mulholland [mailto:php@eden-interactive.com]
>
> I'm having problems with mktime and Midnight on 30th March 2003.
>
> The code I'm using is:
>
> echo mktime(0,0,1,'03','29','2003');
> echo mktime(0,0,1,'03','30','2003');
> echo mktime(0,0,1,'03','31','2003');
>
> but the result is:
>
> 1048896001
> -3661
> 1049065201
I ran your exact code and got this:
1048921201
1049007601
1049094001
Kirk