Scalar. Converts a date value into a string.
datename ( datevalue )
datevalue | A date or bigdatetime. |
Converts a date value to a string of the form 'YYYY-MM-DD'. The function takes a date or bigdatetime as its argument, and the function returns a string.
datename (undate ('2010-03-03 12:34:34')) returns '20100303'.