Re: [PHP] the Y2K38 BUG

[email protected] ("Nathan Nobbe")
Newsgroups php.general
Message-ID <[email protected]>
On Wed, May 7, 2008 at 12:48 AM, Kalle Sommer Nielsen <[email protected]> wrote:

> Quoting "Jon L." <[email protected]>:
>
>  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.