Date-time module that goes beyond 2023

Hi all,

The recent discussion on a date-time module leaves me wondering:

Given that time() only works up to year 2023, is there a successor
module which can go beyond 2023, and earlier than 1900?

What will be the code implication to support this new module?

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Foo JH [ Do, 04 Dezember 2008 09:55 ] [ ID #1979725 ]

Re: Date-time module that goes beyond 2023

--===============0261116102==
Content-Type: multipart/alternative;
boundary="----=_Part_3623_19275211.1228385198276"

------=_Part_3623_19275211.1228385198276
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

2008/12/4 Foo JH <jhfoo-ml [at] extracktor.com>

> Hi all,
>
> The recent discussion on a date-time module leaves me wondering:
>
> Given that time() only works up to year 2023, is there a successor
> module which can go beyond 2023, and earlier than 1900?
>
> What will be the code implication to support this new module?
>

I think thats actually supposed to be 1st Jan 2038 rather than 2023 (as says
my WinXP 32 bit Centrino):-

print scalar localtime( time + ( 30 * 365 * 24 * 60 * 60 ) );

vs.

print scalar localtime( time + ( 29 * 365 * 24 * 60 * 60 ) );

And AFAIK this only impacts 32 bit machines.

<OT>
Who knows what will happen by then anyway, my bet is another farcical 'Y2K
bug' causing Intel and M$ shares to rocket through the roof . . .

I should be long gone by then . . . unless my kids try and torture me by
keeping me alive on some yet to be invented life support system

Hopefully by then Jan's, Larry's, Tom's, Gisle's, MJD's (if you feel your
name should be included please add it in - it's starting to get late and
I've had a few too many) brains would be downloadable Matrix style . . . I
think I'd better stop now . . .
</OT>

Just in

------=_Part_3623_19275211.1228385198276
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><div class="gmail_quote">2008/12/4 Foo JH <span dir="ltr"><jhfoo-ml [at] extracktor.com></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br>
<br>
The recent discussion on a date-time module leaves me wondering:<br>
<br>
Given that time() only works up to year 2023, is there a successor<br>
module which can go beyond 2023, and earlier than 1900?<br>
<br>
What will be the code implication to support this new module?<br>
</blockquote><div><br>I think thats actually supposed to be 1st Jan 2038 rather than 2023 (as says my WinXP 32 bit Centrino):-<br><br>print scalar localtime( time + ( 30 * 365 * 24 * 60 * 60 ) );<br><br>vs.<br><br>print scalar localtime( time + ( 29  * 365 * 24 * 60 * 60 ) );<br>
<br>And AFAIK this only impacts 32 bit machines. <br><br><OT><br>Who knows what will happen by then anyway, my bet is another farcical 'Y2K bug' causing Intel and M$ shares to rocket through the roof . . .<br>
<br>I should be long gone by then . . . unless my kids try and torture me by keeping me alive on some yet to be invented life support system<br><br>Hopefully by then Jan's, Larry's, Tom's, Gisle's, MJD's (if you feel your name should be included please add it in - it's starting to get late and I've had a few too many) brains would be downloadable Matrix style . . . I think I'd better stop now . . . <br>
</div></div></OT><br><br>Just in<br>

------=_Part_3623_19275211.1228385198276--

--===============0261116102==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0261116102==--
Justin Allegakoen [ Do, 04 Dezember 2008 11:06 ] [ ID #1979726 ]

RE: Date-time module that goes beyond 2023

Justin Allegakoen wrote:

>> 2008/12/4 Foo JH <jhfoo-ml [at] extracktor.com>
>> > The recent discussion on a date-time module leaves me wondering:
>> > Given that time() only works up to year 2023, is there a successor
>> > module which can go beyond 2023, and earlier than 1900?
>> > What will be the code implication to support this new module?
>>
>> I think thats actually supposed to be 1st Jan 2038 rather than 2023
>> (as says my WinXP 32 bit Centrino):-

Time::Local::Extended bumps the cutoff forward to 2098.

--
Henry
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Henry Hartley [ Do, 04 Dezember 2008 16:05 ] [ ID #1979727 ]
Perl » gmane.comp.lang.perl.active-perl » Date-time module that goes beyond 2023

Vorheriges Thema: \Q \E differences depending which Perl Version is used
Nächstes Thema: Missing post variables, PerlEx, CGI.pm - file uploads