ca5
9/5/2017 - 2:19 AM

dt->datetime

dt->datetime

dt=20170801
jst = datetime.timezone(datetime.timedelta(hours=+9), 'JST')

datetime.datetime.strptime(str(dt), '%Y%m%d').replace(tzinfo=jst)