How To Use T-SQL To Subtract Dates And Calculate Time Span?
Explains two common ways to subtract datetime or smalldatetime data types on SQL Server. ... Note, all years and months are not the same. Some year has 365 days, other 366 days. February has 28 or 29 days, January has 31 days, April 30 days etc....