import datetime
naive_date = datetime.datetime.strptime('2013-10-21 08:44:08',
    '%Y-%m-%d %H:%M:%S')
localtz = pytz.timezone('America/Los_Angeles')
Python: How to convert a timezone aware timestamp to UTC without knowing if DST is in effect