in reply to seconds since the epoch
use POSIX qw( strftime ); my $time = 400_000_000; print strftime("%y/%m/%d %H:%M\n", localtime($time));
Update: Changed "%Y" to "%y" to match OP's format.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: seconds since the epoch
by tachyon-II (Chaplain) on Mar 16, 2008 at 00:50 UTC | |
by ikegami (Patriarch) on Mar 16, 2008 at 00:52 UTC | |
by sgifford (Prior) on Mar 17, 2008 at 04:40 UTC |