SyntaxFix
Write A Post
Hire A Developer
Questions
This is working for me -
SELECT DATEDIFF(DAY, startdate, enddate) AS DayCount Example : SELECT DATEDIFF(DAY, '11/30/2019', GETDATE()) AS DayCount