RE: [PHP-WIN] Bug in mktime-function ?
| From: | Boget, Chris | Date: | Fri, 16 Feb 2001 14:15:11 +0000 |
| Subject: | RE: [PHP-WIN] Bug in mktime-function ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40144@lists.php.net to get a copy of this message | ||
> This is the output I get running 4.0.4pl1 or 3.0.17 on Win98/Apache
> Using 3/9/1935
> Unix timestamp for this date is -1
This is what I get:
Using 3/9/1935
Unix timestamp for this date is -1098727200
Reconverting... March 09, 1935
> Warning: unexpected error in date() in on line 13
> Reconverting...
> What platform r u using?
Unix/Apache. Right now, we are using PHP Version 4.0.3pl1, but this
code worked even as far back as version 3.0.5 (which is what we were
using before we upgraded to 4.x).
Chris