Skip to content
masterclass Buddy

Pydantic · Type Alias

AwareDatetime

AwareDatetime is a Pydantic type for datetime values that must include timezone information. It helps ensure that date-time values represent a timezone-aware time.

Last updated

Syntax

class Model(BaseModel):
    value: AwareDatetime

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • NaiveDatetime
  • PastDatetime
  • FutureDatetime
  • datetime

Source: Pydantic Types | Pydantic Docs. Checked 2026-11-03.