The DATEPART() function returns a specified part of a date. This function returns the result as an integer value