Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get the current date and time in python

from datetime import datetime

# datetime object containing current date and time
now = datetime.now()
print("now =", now)
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #current #date #time #python
ADD COMMENT
Topic
Name
4+4 =