Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Current date and time or Python Datetime today

# Python program to demonstrate datetime object
# import datetime class
from datetime import datetime

# Calling now() function
today = datetime.now()

print("Current date and time is", today)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Current #date #time #Python #Datetime #today
ADD COMMENT
Topic
Name
3+6 =