Skip to content

Commit

Permalink
Create TimeOfTimezone.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sohammesare committed Oct 29, 2022
1 parent e402dbc commit 2b0d941
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions TimeOfTimezone.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from datetime import *
import pytz


tz_INDIA = pytz.timezone('Asia/Kolkata')
datetime_INDIA = datetime.now(tz_INDIA)
print("INDIA time:", datetime_INDIA.strftime("%H:%M:%S"))

0 comments on commit 2b0d941

Please sign in to comment.