# This script will convert arg1 (Date) and arg2 (Time) to Epoch Seconds


import sys, time, datetime

if len(sys.argv) < 3:

print "Usage pyEpoch YYYY-MM-DD HH:MM"


intime = sys.argv[1] + " " + sys.argv[2]

t = time.strptime(intime, "%Y-%m-%d %H:%M")

t = datetime.datetime(*t[:6])

print "Epoch Seconds:", time.mktime(t.timetuple())

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.