Datetime
Python's `datetime` module supplies classes for manipulating dates, times, and time intervals. It is the standard way to handle temporal data in Python. The guide walks through date Objects, datetime Objects, timedelta Arithmetic, Formatting & Parsing, Timezone Handling. `date(year, month, day)` creates a date. `date.today()` returns the current local date. Access components via `.year`, `.month`, `.day`. Dates support comparison operators and can be formatted with `.isoformat()`. `datetime(year, month, day, hour, minute, second)` combines date and time. `datetime.now()` returns the current local datetime. `datetime.utcnow()` returns UTC. Use `.combine(date, time)` to merge a date and time object. `timedelta(days=, hours=, minutes=, seconds=)` represents a duration. Add or subtract timedeltas from dates/datetimes: `today + timedelta(days=7)` is one week from now. You can also compute the difference between two datetimes to get a timedelta. The guide is organized into 5 sections that build on each other, each pairing a prose explanation with runnable code. Browse the individual functions covered by this guide in the Datetime Module category.