About Lesson
Asctime():-
The time can be formatted by using the asctime() function on time module. It returns the formatted time for the time tuple being passed.
|
import time print(time.asctime()) Output Thu Jun 22 13:52:55 2023 |
Important Notice:
The time can be formatted by using the asctime() function on time module. It returns the formatted time for the time tuple being passed.
|
import time print(time.asctime()) Output Thu Jun 22 13:52:55 2023 |