Skip to content

Perl Script: Perl Print Yesterday Time

cpx May 17, 2013 1 min read perl
perl -e 'use POSIX qw(strftime); print strftime "%a %b %e %H:%M:%S %Y",localtime(time()- 3600*24*2);'

 

Be the first to comment

protected · no tracking

0 comments