Using DATEADD and DATEDIFF to calculate SQL Server datetime values
SQL Server DATEADD and DATEDIFF functions allow you to easily perform calculations such as adding or subtracting a time interval from a datetime value or for comparing two date/time values. SQL Server expert Robert Sheldon explains and gives examples of ....