Articles → PYTHON → Asctime function in python

Asctime function in python






Purpose





Example




import time

print (time.asctime(time.localtime(time.time())))




Picture showing the output of asctime function in python

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, February 27, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250