Transact-SQL reference for the DATEDIFF function. Returns the numerical difference between a start and end date based on datepart.