Re: the Y2K38 BUG
| From: | Nathan Nobbe | Date: | Wed, 07 May 2008 06:54:27 +0000 |
| Subject: | Re: the Y2K38 BUG | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273973@lists.php.net to get a copy of this message | ||
On Wed, May 7, 2008 at 12:48 AM, Kalle Sommer Nielsen <kalle@php.net> wrote:
> Quoting "Jon L." <jonllmsed@gmail.com>:
>
> Another possibility...
>> Port the Date object implementation from ECMA/Javascript.
>> It has a range of +/-8.64e15, or Tue, 20 Apr -271821 00:00:00 GMT to Sat,
>> 13
>> Sep 275760 00:00:00 GMT.
>>
>> You know...just to have a little extra time to find something else. ;)
>>
>> - Jon L.
>>
>
> That would be a quite interesting move, try propose it to Derick ;)
looks like mine only goes to dec. 31, 9999 =/
php > echo date_create('9999-12-31')->format('M-d-Y');
Dec-31-9999
php > echo date_create('10000-1-01')->format('M-d-Y');
Jan-01-2000
-nathan