MemotivaStandard library essentials

What is the datetime module?

Standard library essentials

Audio flashcard · 0:17

Nortren·

What is the datetime module?

0:17

Datetime provides classes for working with dates and times: date, time, datetime, timedelta, and timezone. It supports arithmetic, formatting with strftime, parsing with strptime, and timezone-aware operations. The zoneinfo module added in Python 3.9 provides IANA timezone support. ---
docs.python.org