📅  最后修改于: 2022-03-11 14:56:31.241000             🧑  作者: Mango
from pytz import timezone
from datetime import datetime
UTC = timezone('Asia/Kolkata')
def time_now():
return datetime.now(UTC)
print(time_now())