About 50 results
Open links in new tab
  1. datetime — Basic date and time types — Python 3.14.3 documentation

    datetime — Basic date and time types ¶ Source code: Lib/datetime.py The datetime module supplies classes for manipulating dates and times. While date and time arithmetic is supported, the focus of …

  2. time — Time access and conversions — Python 3.14.3 documentation

    The number returned by time() may be converted into a more common time format (i.e. year, month, day, hour, etc…) in UTC by passing it to gmtime() function or in local time by passing it to the …

  3. DateTime Objects — Python 3.14.3 documentation

    1 day ago · This instance of PyTypeObject represents the Python type for the difference between two datetime values; it is the same object as datetime.timedelta in the Python layer.

  4. Data Types — Python 3.14.3 documentation

    1 day ago · The modules described in this chapter provide a variety of specialized data types such as dates and times, fixed-type arrays, heap queues, double-ended queues, and enumerations. Python …

  5. zoneinfo — IANA time zone support — Python 3.14.3 documentation

    ZoneInfo is a concrete implementation of the datetime.tzinfo abstract base class, and is intended to be attached to tzinfo, either via the constructor, the datetime.replace method or datetime.astimezone:

  6. string — Common string operations — Python 3.14.3 documentation

    3 days ago · “Format specifications” are used within replacement fields contained within a format string to define how individual values are presented (see Format String Syntax, f-strings, and t-strings).

  7. Logging HOWTO — Python 3.14.3 documentation

    The default format for date/time display (shown above) is like ISO8601 or RFC 3339. If you need more control over the formatting of the date/time, provide a datefmt argument to basicConfig, as in this …

  8. The Python Standard Library — Python 3.14.3 documentation

    1 day ago · While The Python Language Reference describes the exact syntax and semantics of the Python language, this library reference manual describes the standard library that is distributed with …

  9. logging — Logging facility for Python — Python 3.14.3 documentation

    If the formatting string contains '(asctime)', formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.

  10. calendar — General calendar-related functions — Python 3.14.3 …

    1 day ago · Parameters that specify dates are given as integers. For related functionality, see also the datetime and time modules. The functions and classes defined in this module use an idealized …