Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
whalesharx authored Oct 15, 2024
1 parent a328b66 commit ff72ec3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions OTHERS/TimeandDate.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#find local time
import datetime

# Print Hello, World!
print("Hello, World!")

# Get the current time
current_time = datetime.datetime.now()

# Print the current time
print("The current time is:", current_time.strftime("%Y-%m-%d %H:%M:%S"))

0 comments on commit ff72ec3

Please sign in to comment.