Re: Time::Local problem

2004-08-30 Thread Rick Measham
On 30 Aug 2004, at 8:15 PM, David Ledger wrote: Can anyone explain the following? (the difference in commands is the year spec.) [EMAIL PROTECTED]: perl -e 'use Time::Local;print ( (localtime(timelocal(0, 0, 0, 1, 1, 55)))[6], \n);' 2 [EMAIL PROTECTED]: perl -e 'use Time::Local;print (

Re: Time::Local problem

2004-08-30 Thread Sherm Pendley
On Aug 30, 2004, at 7:01 PM, Rick Measham wrote: Your best bet for anything to do with dates and times is to use the DateTime modules. They work on all platforms and comprehensively handle any date and time you can throw at it (right up to $MAXINT-12-31). Great - so now our ancestors have to

Re: Time::Local problem

2004-08-30 Thread Rick Measham
On 31 Aug 2004, at 12:09 PM, Sherm Pendley wrote: Great - so now our ancestors have to deal with the Y4G bug? ;-) LOL .. no .. unless you continue to abbreviate. The dates will range from 1-01-01 to 1-12-31 and 2004 will mean 2004 not 12004. Cheers! Rick (They're your decedents by the