Articles → PYTHON → Asctime Function In Python

Asctime Function In Python






Purpose





Example




import time

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



Output


Picture showing the output of asctime function in python



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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250