DATE_ADD

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API ✅ Data 360 Apps

Adds a multiple of the specified date unit to a date or timestamp.

  • <field>: The unit of time to add, such as day, month, or year.
  • <value>: The integer multiple of the unit to add.
  • <timestamp>: The source date or timestamp.

Returns the result as a timestamp.

Add two years to a timestamp.

Returns 2023-02-16 11:01:02.