Skip to content

Commit

Permalink
narcissus: add helper script for unixtime to UTC conversion
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
koenkooi committed May 5, 2011
1 parent c7bdbaf commit 7bbb2f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/timeconv.sh
@@ -0,0 +1,2 @@
#!/bin/sh
echo -n $(date -u -d "UTC 1970-01-01 $1 secs" +"%Y%m%d %H:%M:%S")

0 comments on commit 7bbb2f2

Please sign in to comment.