1from datetime import datetime
2from pytz import timezone
3format = "%Y-%m-%d %H:%M:%S %Z%z"
4# Current time in UTC
5now_utc = datetime.now(timezone('UTC'))
6print(now_utc.strftime(format))
7# Convert to Asia/Kolkata time zone
8now_asia = now_utc.astimezone(timezone('Asia/Kolkata'))
9print(now_asia.strftime(format))