We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d7a9901 + 8f2b3ad commit 2911e02Copy full SHA for 2911e02
python/currenttime finder.py
@@ -0,0 +1,7 @@
1
+from datetime import *
2
+import pytz
3
+
4
5
+tz_INDIA = pytz.timezone('Asia/Kolkata')
6
+datetime_INDIA = datetime.now(tz_INDIA)
7
+print("INDIA time:", datetime_INDIA.strftime("%H:%M:%S"))
0 commit comments