Re: Problem creating a date before 1970 on Fedora
| From: | Wouter van Vliet | Date: | Tue, 14 Sep 2004 12:16:52 +0000 |
| Subject: | Re: Problem creating a date before 1970 on Fedora | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-196614@lists.php.net to get a copy of this message | ||
On Tue, 14 Sep 2004 11:45:51 +0200, Christophe Chisogne
<christophe@publicityweb.com> wrote:
> Wouter van Vliet a écrit :
> >>Note: The valid range of a timestamp is typically from Fri, 13 Dec
> >>1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the
> >>dates that correspond to the minimum and maximum values for a 32-bit
> >>signed integer.)
>
> To avoid unix timestamps limits, dont reinvent the wheel.
> The Pear Date class [1] can probably help you.
> Perhaps this should go in the manual for date() [2],
> as it looks like a FAQ.
>
> [1] pear Date
> http://pear.php.net/package/Date
>
> [2] php date()
> http://www.php.net/manual/en/function.date.php
>
I'll have a look at it, thanks!