Skip to content

Instantly share code, notes, and snippets.

@luser

luser/arrow_test.py

Created Jan 21, 2015
Embed
What would you like to do?
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