The text of this article is not in this database — only its details are. Read it on the old site: DATEDIFF Function in SQL Server 2012
1 Comment
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: DATEDIFF Function in SQL Server 2012
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Jiyaul MustaphaPosted Aug 24, 2019, 1:46 AM
DECLARE @LastDate DATETIME='05-05-2019' SELECT (DATEDIFF(DAY,(@LastDate),GETDATE())) As DifferenceDays