XP is just a number | |
PerlMonks |
Epoch to specific outputby Anonymous Monk |
on Jan 02, 2014 at 16:32 UTC ( [id://1068981]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I am new to Perl and would like to perform a quick conversion using a one liner Perl execution in bash shell.
I am looking for a way to change any given epoch time to a date format of month/day/hour/minute that will be used for a time stamp. I am aware that perl -e "print scalar localtime $x" will provide me with "Thu Jan 2 16:11:48 2014". But, I am looking for a different type of output format.
Back to
Seekers of Perl Wisdom
|
|