We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a328b66 commit ff72ec3Copy full SHA for ff72ec3
OTHERS/TimeandDate.py
@@ -0,0 +1,11 @@
1
+#find local time
2
+import datetime
3
+
4
+# Print Hello, World!
5
+print("Hello, World!")
6
7
+# Get the current time
8
+current_time = datetime.datetime.now()
9
10
+# Print the current time
11
+print("The current time is:", current_time.strftime("%Y-%m-%d %H:%M:%S"))
0 commit comments