Socrata was acquired by Tyler Technologies in 2018 and is now the Data and Insights division of Tyler. The platform is still powered by the same software formerly known as Socrata but you will see references to Data & Insights going forward.

datetime_add_hh

Function: datetime_add_hh
Adds or subtracts the specified number of hours to the timestamp

Examples:

  datetime_add_hh(to_floating_timestamp('2020-01-01T11:00:00'), 5)
  -- Result: "2020-01-01T16:00:00"

  datetime_add_hh(to_floating_timestamp('2020-01-01T16:00:00'), -5)
  -- Result: "2020-01-01T11:00:00"




Signatures
a, n -> a