year(), month() and day() return a date's year, month or day as an integer. select year (getdate()), month (getdate()), day (getdate())
hour(), minute() or second() function (Error message for example: «'hour' is not a recognized built-in function name.»). datename: select dateName(hh, getDate()) hour, dateName(mi, getDate()) minute, dateName(ss, getDate()) second
date value.