Re: Workaround needed for epoch time truncation with gmtime

2003-02-12 Thread chris
On 11 Feb 2003 10:59:09 -, [EMAIL PROTECTED] (Felix Geerinckx) wrote: >on Tue, 11 Feb 2003 00:31:22 GMT, [EMAIL PROTECTED] (Chris) wrote: > >> Nice. Do you know a hack? I am limited to a small perl 5.6.1 >> distro. > >The hack you are looking for can be found in the source code of the >Date::

Re: Workaround needed for epoch time truncation with gmtime

2003-02-11 Thread Felix Geerinckx
on Tue, 11 Feb 2003 00:31:22 GMT, [EMAIL PROTECTED] (Chris) wrote: > Nice. Do you know a hack? I am limited to a small perl 5.6.1 > distro. The hack you are looking for can be found in the source code of the Date::Manip module. -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Workaround needed for epoch time truncation with gmtime

2003-02-10 Thread chris
On Mon, 10 Feb 2003 16:42:43 -0800, [EMAIL PROTECTED] (David) wrote: >Chris wrote: > >> I need to work with epoch time past the year 2038. >> >> my $time = gmtime(2147483647 + 1); >> print $time; >> >> any ideas? > >try: > >#!/usr/bin/perl -w >use strict; > >use Date::Manip; > >print "35 years a

Re: Workaround needed for epoch time truncation with gmtime

2003-02-10 Thread david
Chris wrote: > I need to work with epoch time past the year 2038. > > my $time = gmtime(2147483647 + 1); > print $time; > > any ideas? try: #!/usr/bin/perl -w use strict; use Date::Manip; print "35 years and 20 minutes from now is: ", UnixDate(ParseDate("35 years 20 minutes"),"%s"),"\n