About 83,600 results
Open links in new tab
  1. datetime — Basic date and time types — Python 3.14.2 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. DateTime Objects — Python 3.14.2 documentation

    1 day ago · Various date and time objects are supplied by the datetime module. Before using any of these functions, the header file datetime.h must be included in your source (note that this is not …

  3. zoneinfo — IANA time zone support — Python 3.14.2 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:

  4. time — Time access and conversions — Python 3.14.2 documentation

    This module provides various time-related functions. For related functionality, see also the datetime and calendar modules. Although this module is always available, not all functions are available...

  5. Data Types — Python 3.14.2 documentation

    3 days ago · datetime Objects Examples of Usage: datetime time Objects Examples of Usage: time tzinfo Objects timezone Objects strftime() and strptime() Behavior strftime() and strptime() Format …

  6. email.utils: Miscellaneous utilities — Python 3.14.2 documentation

    2 days ago · Like formatdate, but the input is a datetime instance. If it is a naive datetime, it is assumed to be “UTC with no information about the source timezone”, and the conventional -0000 is used for …

  7. calendar — General calendar-related functions — Python 3.14.2 …

    3 days 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 …

  8. Pending removal in future versions — Python 3.14.2 documentation

    3 days ago · datetime: utcnow(): use datetime.datetime.now(tz=datetime.UTC). utcfromtimestamp(): use datetime.datetime.fromtimestamp(timestamp, tz=datetime.UTC). gettext: Plural value must be an …

  9. PyTime C API — Python 3.14.2 documentation

    The clock C API provides access to system clocks. It is similar to the Python time module. For C API related to the datetime module, see DateTime Objects. Types: Clock Functions: The following func...

  10. typing — Support for type hints — Python 3.14.2 documentation

    3 days ago · Source code: Lib/typing.py This module provides runtime support for type hints. Consider the function below: The function surface_area_of_cube takes an argument expected to be an …