Re: mktime fails for pre 1970 on Fedora 3
- From: gunzip <none@xxxxxxxx>
- Date: Wed, 30 Nov 2005 03:52:03 +0000
Tim Roberts wrote:
> It's not glibc. It is much more deeply embedded in the depths of the
> operating system. Just try to work with a date past February, 2038.
I'm not referring to the 32/64 bit issue. On some UNIX platforms, such as
FreeBSD, mktime handles pre-1970 dates with a workable negative value. On
many Linux distros all you get for anything before 1 Jan 1970 is -1. If
Perl's Date::Calc can handle all this why can't PHP?
zaphod
.
- Follow-Ups:
- Re: mktime fails for pre 1970 on Fedora 3
- From: Gordon Burditt
- Re: mktime fails for pre 1970 on Fedora 3
- References:
- mktime fails for pre 1970 on Fedora 3
- From: zaphod
- Re: mktime fails for pre 1970 on Fedora 3
- From: Tim Roberts
- mktime fails for pre 1970 on Fedora 3
- Prev by Date: Send email with attachment in PHP
- Next by Date: Re: mktime fails for pre 1970 on Fedora 3
- Previous by thread: Re: mktime fails for pre 1970 on Fedora 3
- Next by thread: Re: mktime fails for pre 1970 on Fedora 3
- Index(es):