- asctime() is a python time function which return the exact time of the real world or time of your system machine.
- ctime() function are also similar as asctime().
Syntax-
time.asctime()
-Here time is a library in which asctime() function is predefined.
-It return the following format
'day month date time year'
program-
import time
print("Day and time is")
print(time.asctime())
Day and time is
Mon Apr 29 01:33:43 2019
Day and time is
Mon Apr 29 01:34:09 2019