Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- Add a small utility to convert epoch to localtime since I am too la…

…zy to retrieve the correct options of date(1)
  • Loading branch information...
commit cd5d5327493b49d093ff6a273d5dce8ae50ce23e 1 parent d8950c5
@steveschnepp steveschnepp authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 contrib/epoch2localtime
View
6 contrib/epoch2localtime
@@ -0,0 +1,6 @@
+#! /usr/bin/perl
+# Convert epoch to human readable time
+
+while (my $epoch = shift) {
+ print "" . localtime($epoch) . "\n";
+}
Please sign in to comment.
Something went wrong with that request. Please try again.