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.
In reply to Re: seconds since the epoch
by ikegami
in thread seconds since the epoch
by my_nihilist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |