note 23916 added to function.mktime
| From: | troels at arvin dot dk | Date: | Wed, 31 Jul 2002 21:43:41 +0000 |
| Subject: | note 23916 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34082@lists.php.net to get a copy of this message | ||
Red Hat 7.3's glibc contains a strange change in behaviour regarding the mktime() function. It
affects PHP's mktime() function, so that on Red Hat 7.3 systems, mktime() will always return -1
for dates before Jan 1st 1970 (more or less - time zones may distort this rule of thumb slightly).
If you use Red Hat Linu x7.3 and need the "old" behaviour (which is used on nearly all
other unix systems), then use the glibc package set at http://rpms.arvin.dk/glibc/rh73/
--
http://www.php.net/manual/en/function.mktime.php
http://master.php.net/manage/user-notes.php?action=edit+23916
http://master.php.net/manage/user-notes.php?action=delete+23916
http://master.php.net/manage/user-notes.php?action=reject+23916