Skip to content

DATE_ADD

DATE_ADD(timestamp_val, interval)

Computes a timestamp column by adding an interval column/scalar to a timestamp value. If the first argument is a string representation of a timestamp, Bodo will cast the value to a timestamp.

DATE_ADD(timestamp_val, amount)

Equivalent to DATE_ADD('day', amount, timestamp_val)