Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python program to display the current date and time


import datetime
now = datetime.datetime.now()
print ("Current date and time : ")
print (now.strftime("%Y-%m-%d %H:%M:%S"))				 
	
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Python #program #display #current #date #time
ADD COMMENT
Topic
Name
9+4 =