ID:               22436
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to