ID EN
Time

ctime

Python 3.11

Convert a time expressed in seconds since the epoch to a string of a form: 'Sun Jun 20 23:21:05 1993' representing local time. 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.ctime([secs])

See Also

epoch None time() ctime()