Skip to content

Instantly share code, notes, and snippets.

@chriskief

chriskief/basics.py

Created Oct 24, 2013
Embed
What would you like to do?
import datetime
from django.utils.timezone import utc
now = datetime.datetime.utcnow().replace(tzinfo=utc)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment