Redshift Date Function Support

TDV supports the date functions listed in the table below for Redshift.

Redshift Date Function

Notes

ADD MONTHS

Maps to ADD_MONTHS

CURRENT_DATE

 

CURRENT_TIMESTAMP

 

CLOCK_TIMESTAMP

 

DATEADD

 

DATEDIFF

 

DATE_PART

 

DATE_TRUNC

 

DAY

 

MONTH

 

MONTHS_BETWEEN

 

TZCONVERTOR

 

UPDATEDIFF

Maps to DATEDIFF

YEAR