‘US/Alaska’,
‘US/Arizona’,
‘US/Central’,
‘US/Eastern’,
‘US/Hawaii’,
‘US/Mountain’,
‘US/Pacific’,
‘UTC’]
With pytz, there is generally no need to define your own tzinfo objects:
In [ 42 ]: u = dt.datetime.utcnow()
u = u.replace(tzinfo=pytz.utc)
u
Out[42]: datetime.datetime(2014, 9, 14, 17, 22, 29, 503702, tzinfo=<UTC>)
In [ 43 ]: u.astimezone(pytz.timezone(“CET”))
Out[43]: datetime.datetime(2014, 9, 14, 19, 22, 29, 503702, tzinfo=<DstTzInfo ‘C
ET’ CEST+2:00:00 DST>)
In [ 44 ]: u.astimezone(pytz.timezone(“GMT”))
Out[44]: datetime.datetime(2014, 9, 14, 17, 22, 29, 503702, tzinfo=<StaticTzInfo
‘GMT’>)
In [ 45 ]: u.astimezone(pytz.timezone(“US/Central”))
Out[45]: datetime.datetime(2014, 9, 14, 12, 22, 29, 503702, tzinfo=<DstTzInfo ‘U
S/Central’ CDT-1 day, 19:00:00 DST>)