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