>>> datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=1))) datetime.datetime(2020, 8, 8, 10, 2, 0, 0, tzinfo=datetime.timezone(datetime.timedelta(0, 3600))) >>> import pytz >>> datetime.datetime.now(pytz.timezone('Africa/Lagos')) datetime.datetime(2020, 8, 8, 10, 2, 0, 0, tzinfo=<DstTzInfo 'Africa/Lagos' WAT+1:00:00 STD>) >>> now_naive = datetime.now() datetime.datetime(2020, 8, 8, 10, 2, 0, 0) # Lagos >>> now_naive.replace(tzinfo=pytz.timezone('Africa/Lagos')) datetime.datetime(2020, 8, 8, 10, 2, tzinfo=<DstTzInfo 'Africa/Lagos' LMT+0:14:00 STD>) >>> pytz.timezone('Africa/Lagos').localize(now_naive) datetime.datetime(2020, 8, 8, 10, 2, tzinfo=<DstTzInfo 'Africa/Lagos' WAT+1:00:00 STD>) >>> from dateutil import tz >>> now_naive.replace(tzinfo=tz.gettz('Africa/Lagos')) datetime.datetime(2020, 8, 8, 10, 2, tzinfo=tzfile('/usr/share/zoneinfo/Africa/Lagos')) eumiro 6