DATEPART
Returns the specified part of a given date
DATEPART( date
, date part
)
Returns the specified date part
for the given date/time element or array of dates.
Arguments
Output
Date part
for each input date
Example
Last updated