0, 0) # in Hong Kong datetime.datetime(2020, 5, 9, 11, 33, 0, 0) # in Karlsruhe, Germany datetime.datetime(2020, 5, 9, 9, 33, 0, 0) # server set to UTC >>> datetime.datetime.utcnow() datetime.datetime(2020, 5, 9, 9, 33, 0, 0) # everywhere >>> datetime.datetime.now(datetime.timezone.utc) datetime.datetime(2020, 5, 9, 9, 33, 0, 0, tzinfo=datetime.timezone.utc) >>> datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=8))) datetime.datetime(2020, 5, 9, 17, 33, 0, 0, tzinfo=datetime.timezone(datetime.timedelta(0, 28800))) >>> import pytz >>> datetime.datetime.now(pytz.timezone('Asia/Hong_Kong')) datetime.datetime(2020, 5, 9, 17, 33, 0, 0, tzinfo=<DstTzInfo 'Asia/Hong_Kong' HKT+8:00:00 STD>) eumiro 5