Returns text corresponding to the specified part of a given date
Last updated 1 year ago
Was this helpful?
DATENAME(date, date_part)
date
date_part
Returns the date_part of date as a string
Date/time value(s)
Part of the date/time objects to return
Text representing the desired date_part of a date