Convert a tuple or :class:`struct_time` representing a time as returned by
:func:`gmtime` or :func:`localtime` to a string of the following
- form: ``'Sun Jun 20 23:21:05 1993'``. If *t* is not provided, the current time
- as returned by :func:`localtime` is used. Locale information is not used by
- :func:`asctime`.
+ 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'``.
+
+ If *t* is not provided, the current time as returned by :func:`localtime`
+ is used. Locale information is not used by :func:`asctime`.
.. note::
.. function:: ctime([secs])
- Convert a time expressed in seconds since the epoch to a string representing
- local time. If *secs* is not provided or :const:`None`, the current time as
- returned by :func:`.time` is used. ``ctime(secs)`` is equivalent to
- ``asctime(localtime(secs))``. Locale information is not used by :func:`ctime`.
+ 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'``.
+
+ If *secs* is not provided or :const:`None`, the current time as
+ returned by :func:`.time` is used. ``ctime(secs)`` is equivalent to
+ ``asctime(localtime(secs))``. Locale information is not used by
+ :func:`ctime`.
.. function:: get_clock_info(name)