Question: how to calculate difference of date in sql?
Answer: SQL Server DATEDIFF() Function The DATEDIFF() function returns the difference between two dates.