DATE_ADD
Date function
Last updated
Date function
Last updated
The DATE_ADD
function in Amazon Redshift adds a specified time interval to a date or timestamp. Where datetimepart
is the type of interval (like 'day'
or 'month'
), interval
is the number of units to add (positive or negative), and timestamp
is the original date.
DATE_ADD
is converted to DATEADD
, for more information about this conversion click .
Valid in Snowflake for DATE_ADD
:
microsecond, microseconds
millisecond, milliseconds
second, seconds
minute, minutes
hour, hours
day, days
week
month, months
quarter, quarters
year, years
Unsupported formats in Snowflake for DATE_ADD
:
weeks
decade, decades
century, centuries
millennium, millennia
No issues were found.
There are no known issues.