CAST function

Date add function to be passed along to SQL