Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (16 sloc) 0.41 kb
#!/usr/bin/env python
import sys
import time
import string
def parse(i):
# Remove everything but the digits
i = float(filter(lambda c: c in string.digits, i))
while i > 2**31:
i /= 10
return i
if len(sys.argv) == 1:
t = time.time()
print int(t), time.ctime(t)
for i in sys.argv[1:]:
print i, time.ctime(parse(i))
Jump to Line
Something went wrong with that request. Please try again.