The datetime package supplies classes for manipulating dates and times.

See description in the official Python docs.

Types

datetime

type

Represents date and time information.

Fields

Methods

Static methods


time

type

Represents a time of day, independent of any particular day.

Fields

Methods


timedelta

type

A timedelta object represents a duration, the difference between two datetimes.

Fields

Methods