Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python print time

import datetime
now = datetime.datetime.now()
print (now.strftime("%Y-%m-%d %H:%M:%S"))
# key: https://strftime.org/
 
PREVIOUS NEXT
Tagged: #python #print #time
ADD COMMENT
Topic
Name
8+9 =