About 32,200 results
Open links in new tab
  1. datetime — Basic date and time types — Python 3.13.5 …

    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 …

  2. DateTime Objects — Python 3.13.5 documentation

    1 day ago · Return a datetime.datetime object with the specified year, month, day, hour, minute, second and microsecond. PyObject *PyDateTime_FromDateAndTimeAndFold(int year, int …

  3. Data Types — Python 3.13.5 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. …

  4. time — Time access and conversions — Python 3.13.5 …

    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 …

  5. zoneinfo — IANA time zone support — Python 3.15.0a0 …

    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 …

  6. Programming FAQ — Python 3.13.5 documentation

    2 days ago · from datetime import date class FirstOfMonthDate(date): "Always choose the first day of the month" def __new__(cls, year, month, day): return super().__new__(cls, year, …

Refresh