Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def get_epoch():
- from datetime import datetime
- import time
- import pytz
- start = datetime.now(pytz.timezone('America/Los_Angeles'))
- return time.mktime(start.timetuple())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement