Skip to content

Instantly share code, notes, and snippets.

@dameninngenn
Created December 1, 2010 09:37
Show Gist options
  • Save dameninngenn/723239 to your computer and use it in GitHub Desktop.
Save dameninngenn/723239 to your computer and use it in GitHub Desktop.
epoch to yyyy/mm/dd HH:ii:ss
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