# HG changeset patch # User Steve Losh # Date 1508018268 14400 # Node ID 2462583456f0a61f86e8640e9ff5272f605a32c7 # Parent f433f96e0b210f7a74565ce589352163fb430f40 Timestamp utils diff -r f433f96e0b21 -r 2462583456f0 bin/epochmilliseconds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/epochmilliseconds Sat Oct 14 17:57:48 2017 -0400 @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +python2 -c 'import time; print int(time.time() * 1000)' diff -r f433f96e0b21 -r 2462583456f0 bin/epochseconds --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/epochseconds Sat Oct 14 17:57:48 2017 -0400 @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +date '+%s'