Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Get Current Date using today method

# Python program to print current date
# import the date class
from datetime import date

# function of date class
today = date.today()

print("Today's date is", today)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Get #Current #Date #today #method
ADD COMMENT
Topic
Name
5+1 =