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. DateTime Objects — Python 3.14.3 documentation

    3 days 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.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:

  4. Data Types — Python 3.14.3 documentation

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

  5. time — Time access and conversions — Python 3.14.3 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...

  6. What’s New In Python 3.12 — Python 3.14.3 documentation

    3 days ago · datetime: datetime.datetime ’s utcnow() and utcfromtimestamp() are deprecated and will be removed in a future version. Instead, use timezone-aware objects to represent datetimes in UTC: …

  7. Python Documentation contents — Python 3.14.3 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. The Python Standard Library — Python 3.14.3 documentation

    3 days ago · datetime — Basic date and time types zoneinfo — IANA time zone support calendar — General calendar-related functions collections — Container datatypes collections.abc — Abstract …

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

    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 …

  10. unittest.mock — getting started — Python 3.14.3 documentation

    3 days ago · Unfortunately datetime.date is written in C, so you cannot just monkey-patch out the static datetime.date.today() method. Instead, you can effectively wrap the date class with a mock, while …