Problem with Date (2003-03-30)
| From: | Gareth Mulholland | Date: | Wed, 29 Jan 2003 17:51:20 +0000 |
| Subject: | Problem with Date (2003-03-30) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-133535@lists.php.net to get a copy of this message | ||
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
Therefore date is giving me 31 Dec 1969. Is this a problem with UNIX or PHP?
Thanks
Gareth