Created
December 1, 2010 09:37
-
-
Save dameninngenn/723239 to your computer and use it in GitHub Desktop.
epoch to yyyy/mm/dd HH:ii:ss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -le '@t=localtime($ARGV[0]);printf ("%d/%02d/%02d %02d:%02d:%02d",$t[5]+1900,$t[4]+1,@t[3,2,1,0]);' EPOCH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment