How to look up historical time zones by date and location
luofeiyu
elearn2014 at gmail.com
Mon Aug 18 21:31:14 EDT 2014
My dear friends here, all i want is get ` LMT+8:06:00` from the
output of tz1 `<DstTzInfo 'Asia/Shanghai' LMT+8:06:00 STD>`
Shall we get back to the main point?
If you are interested in it ,please say yes or no ,and how to do that ?
import pytz,datetime
tz1 = pytz.timezone('Asia/Shanghai')
tz1
<DstTzInfo 'Asia/Shanghai' LMT+8:06:00 STD>
>>> str(tz1)
'Asia/Shanghai'
More information about the Python-list
mailing list