in reply to Epoch to specific output
Something like the following (substituting your epoch value for time() )
$ perl -MPosix -E 'say POSIX::strftime("%m%d%H%M",localtime(time()))' 01021644
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Epoch to specific output
by Anonymous Monk on Jan 02, 2014 at 16:58 UTC | |
by toolic (Bishop) on Jan 02, 2014 at 17:01 UTC | |
by Anonymous Monk on Jan 02, 2014 at 18:19 UTC | |
by toolic (Bishop) on Jan 02, 2014 at 18:39 UTC | |
by Utilitarian (Vicar) on Jan 02, 2014 at 17:02 UTC |
In Section
Seekers of Perl Wisdom