datetime.date.today()
datetime.date.today() is a Python function in the Datetime Module category. Returns the current local date. The syntax is datetime.date.today(). Returns: Date object. A typical example: date.today() # date(2026, 6, 6). A close sibling is datetime.date(), which creates a date object representing a specific date (year, month, day). A close sibling is datetime.datetime.now(), which returns the current local date and time with optional timezone. A close sibling is datetime.datetime.utcnow(), which returns the current UTC date and time (deprecated, use now(timezone.utc)). A close sibling is datetime.datetime.fromtimestamp(), which converts a Unix timestamp to a datetime object. More about this category: Date and time handling — date, datetime, timedelta, timezone. For a broader walkthrough, read the Datetime Module guide. Related Datetime Module entries: datetime.date(), datetime.datetime.now(), datetime.datetime.utcnow(), datetime.datetime.fromtimestamp(), datetime.datetime.strptime(), datetime.datetime.strftime(). This page is part of the free Python Reference documentation covering 978+ functions, methods, and modules with examples and parameter details.