2462583456f0

Timestamp utils
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 14 Oct 2017 17:57:48 -0400
parents f433f96e0b21
children b887f32e40cd
branches/tags (none)
files bin/epochmilliseconds bin/epochseconds

Changes

--- /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)'
--- /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'