DuckDB provides us with the means to add and subtract intervals to/from date, timestamp, and time values. We can perform subtraction with the minus (-
) operator or the date_add()
function (along with the minus operator).
Below are examples of using each method to subtract minutes from date/time values.
Continue reading