in reply to getting time value from any datetime modules
The most convenient way to produce human readable timestamps is through POSIX::strftime:
my @atime = localtime($atime); print strftime "%b %d %H:%M\n", @atime;
See, for example, this strftime manpage for the placeholders.
|
|---|