Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get time python

from datetime import datetime

date = datetime.now()
print(date)
# Prints in the format: year, month, day, hour, minute, second and microsecond
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #time #python
ADD COMMENT
Topic
Name
4+8 =