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.


Function: datetime_add_d
Adds or subtracts the specified number of days to the timestamp


  datetime_add_d(to_floating_timestamp('2020-01-01T11:00:00'), 5)
  -- Result: "2020-01-06T11:00:00"

  datetime_add_d(to_floating_timestamp('2020-01-06T11:00:00'), -5)
  -- Result: "2020-01-01T11:00:00"

a, n -> a