Skip to content

Instantly share code, notes, and snippets.

@luser
Created January 21, 2015 16:40
Show Gist options
  • Save luser/5e69a39e17510b47a752 to your computer and use it in GitHub Desktop.
Save luser/5e69a39e17510b47a752 to your computer and use it in GitHub Desktop.
import arrow
from datetime import datetime
from time import time
now = arrow.get(datetime.now(), 'US/Eastern')
print now
print now.timestamp
print now.isoformat()
now = arrow.get(time()).to('US/Eastern')
print now
print now.isoformat()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment