in reply to Converting epoch times after 2038
Perl on a 64-bit system can do it. Here's the answer from an x86_64 perl-5.8.8:
$ perl -we 'warn "".localtime(1<<33), "\n"' Wed Mar 16 13:56:32 2242
Update: Time::Local doesn't work after 2038 though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Converting epoch times after 2038
by Joost (Canon) on Apr 05, 2007 at 14:48 UTC | |
by parv (Parson) on Apr 05, 2007 at 16:18 UTC | |
|
Re^2: Converting epoch times after 2038
by Krambambuli (Curate) on Apr 05, 2007 at 10:00 UTC | |
by ruoso (Curate) on Apr 05, 2007 at 10:42 UTC | |
by jonadab (Parson) on Apr 05, 2007 at 10:28 UTC | |
by duff (Parson) on Apr 05, 2007 at 14:33 UTC | |
by jonadab (Parson) on Apr 06, 2007 at 10:43 UTC |