Skip to content

DATE_SUB

DATE_SUB(timestamp_val, interval)

Computes a timestamp column by subtracting 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.