Skip to content
These docs are for v1 of RelationalAI. Click here to view the v2 docs.

ISO

relationalai.semantics.std.datetime

ISO format string constants for date and datetime formatting.

Attributes

.DATE

ISO.DATE: str

Date format: “yyyy-mm-dd”

.HOURS

ISO.HOURS: str

Datetime with hours: “yyyy-mm-ddTHH”

.HOURS_TZ

ISO.HOURS_TZ: str

Datetime with hours and timezone: “yyyy-mm-ddTHHz”

.MINUTES

ISO.MINUTES: str

Datetime with minutes: “yyyy-mm-ddTHH:MM”

.MINUTES_TZ

ISO.MINUTES_TZ: str

Datetime with minutes and timezone: “yyyy-mm-ddTHH:MMz”

.SECONDS

ISO.SECONDS: str

Datetime with seconds: “yyyy-mm-ddTHH:MM:SS”

.SECONDS_TZ

ISO.SECONDS_TZ: str

Datetime with seconds and timezone: “yyyy-mm-ddTHH:MM:SSz”

.MILLIS

ISO.MILLIS: str

Datetime with milliseconds: “yyyy-mm-ddTHH:MM:SS.s”

.MILLIS_TZ

ISO.MILLIS_TZ: str

Datetime with milliseconds and timezone: “yyyy-mm-ddTHH:MM:SS.sz”