import time MosTime=time.gmtime(time.time()+ 3*60*60) time.sleep(5) print("В Москве {} часов и {} минут".format(MosTime.tm_hour, MosTime.tm_min))