Re: Problem creating a date before 1970 on Fedora

From: Date: Tue, 14 Sep 2004 09:45:51 +0000
Subject: Re: Problem creating a date before 1970 on Fedora
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-196600@lists.php.net to get a copy of this message
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

« previous php.general (#196600) next »