#22436 [Opn]: Valid solution for working with < 1969 dates
| From: | iliaa@php.net | Date: | Wed, 26 Feb 2003 15:26:09 +0000 |
| Subject: | #22436 [Opn]: Valid solution for working with < 1969 dates | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34319@lists.php.net to get a copy of this message | ||
ID: 22436
Updated by: iliaa@php.net
Reported By: ivo at ibuildings dot nl
Status: Open
-Bug Type: Date/time related
+Bug Type: Feature/Change Request
Operating System: Redhat Linux
PHP Version: 4.3.0
New Comment:
Just a a note, PEAR has a date class capable of handling dates prior to
1969.
Previous Comments:
------------------------------------------------------------------------
[2003-02-26 08:22:23] ivo at ibuildings dot nl
Hi,
working with dates before 1970 with mktime sometimes works, sometimes
doesn't.
There are several bugs in the bug database describing this problem: bug
#18802, bug #22163 and bug #20280.
All are answered with stuff like "behaviour of mktime before 1970 is
undefined", "it's not a php bug because it's due to glibc" etc.
While all of these are most certainly true, it's not really a helpful
answer to php users. PHP users just want to do stuff with dates. When
working with birthdates, dates from before 1970 are quite common.
Therefor, I request that the php date/time functions will be made such
that they *work*, regardless of the operating system, the glibc version
etc.
Would you please consider doing this?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22436&edit=1