ID EN
Time

asctime

Python 3.11

Convert a tuple or struct_time representing a time as returned by gmtime() or localtime() to a string of the following form: 'Sun Jun 20 23:21:05 1993'. The day field is two characters long and is space padded if the day is a single digit, e.g.: 'Wed Jun 9 04:26:40 1993'.

Syntax

PYTHON
time.asctime([t])

See Also

struct_time gmtime() localtime() localtime() asctime() asctime()