🔵 🔵 🔵


Primary

၊၊||၊|။

datetime ⚬⃕ᵖʸ|Documentation|1st|20251021234223-00-⌔

datetime — Basic date and time types — Python 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 the implementation is on efficient attribute extraction for output formatting and manipulation.

Tip: Skip to the format codes.

See also:
Module calendar

General calendar related functions.

Module time

Time access and conversions.

Module zoneinfo

Concrete time zones representing the IANA time zone database.

Package dateutil

Third-party library with expanded time zone and parsing support.

Package DateType

Third-party library that introduces distinct static types to for example, allow static type checkers to differentiate between naive and aware datetimes.

Printed 2026-06-28.

(echo:: @ )

Link to original

Secondary

• • •