Created
January 21, 2015 16:40
-
-
Save luser/5e69a39e17510b47a752 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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