$ perl -le 'print scalar(localtime(20100302165019));' Mon Mar 22 05:03:39 638923 ^^ ^^^^^^
(with a 64-bit Perl)
The string '20100302165019' doesn't represent seconds since "the epoch", which is what localtime() would expect.
In reply to Re^3: Date conversion in perl?
by almut
in thread Date conversion in perl?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |