in reply to Re^2: Date conversion in perl?
in thread Date conversion in perl?
No. That's not the what localtime takes for input. And even if it did, localtime does not produce the requested output.
In fact, that number is so large that it doesn't fit in a 32-bit int, and thus my localtime can't handle it:
>perl -wle"print scalar(localtime(20100302165019));" Use of uninitialized value in print at -e line 1.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Date conversion in perl?
by ww (Archbishop) on Mar 03, 2010 at 13:49 UTC | |
by bart (Canon) on Mar 03, 2010 at 14:11 UTC | |
by ikegami (Patriarch) on Mar 03, 2010 at 15:59 UTC |