Skip to content

hours

relationalai.semantics.std.datetime
hours(period: IntegerValue) -> Expression

Create an hours period.

  • Expression - An Expression computing the period.

Create hour periods:

>>> datetime.hours(24)
>>> datetime.hours(Flight.duration_hours)