mktime() problem
| From: | Michael Mayer | Date: | Tue, 12 Nov 2002 01:59:04 +0000 |
| Subject: | mktime() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123923@lists.php.net to get a copy of this message | ||
Hi there,
does anybody know, if the behaviour of mktime() on RedHat Linux > 7.2 is
fixed in one of the latest PHP versions?
Since RH 7.3 it is not possible anymore, to get a negative integer from
mktime(), that means you can't get a UNIX timestamp for a date before
1.1.1970....I experienced this problem with PHP 4.2.2
For a more detailed description, have a look at:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=70375
BTW: The PHP docs say, that the valid range for years is (or now "should
be") between 1902 and 2037.
--
michael
liquid bytes technologies
www.liquidbytes.net