Skip to content

DateTimeValue

relationalai.semantics.std
DateTimeValue = Union[Variable, dt.datetime]

A type representing a datetime value, which can be a literal datetime.datetime or a Variable resulting from some other expression which will evaluate to a datetime.

 semantics > std
├──  datetime
│   └──  datetime
│       ├──  add
│       ├──  day
│       ├──  dayofyear
│       ├──  diff
│       ├──  format
│       ├──  hour
│       ├──  isoweekday
│       ├──  minute
│       ├──  month
│       ├──  period_milliseconds
│       ├──  quarter
│       ├──  range
│       ├──  second
│       ├──  subtract
│       ├──  to_date
│       ├──  week
│       ├──  weekday
│       └──  year
└──  strings
    └──  string