About 144,000 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.15.0a3 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. Pending removal in future versions — Python 3.14.2 documentation

    1 day 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 …

  5. 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...

  6. Data Types — Python 3.14.2 documentation

    1 day ago · datetime — Basic date and time types Aware and Naive Objects Constants Available Types Common Properties Determining if an Object is Aware or Naive timedelta Objects Examples of …

  7. Python Documentation contents — Python 3.14.2 documentation

    datetime Objects Examples of Usage: datetime time Objects Examples of Usage: time tzinfo Objects timezone Objects strftime() and strptime() Behavior strftime() and strptime() Format Codes Technical …

  8. What's New In Python 3.13 — Python 3.13.11 ドキュメント

    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. typing — Support for type hints — Python 3.14.2 documentation

    2 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 …

  10. dataclasses — Data Classes — Python 3.14.2 documentation

    1 day ago · Source code: Lib/dataclasses.py This module provides a decorator and functions for automatically adding generated special methods such as__init__() and__repr__() to user-defined …