Date Diff

0

Please login or register to vote for this query.

(click on this box to dismiss)

SharePoint

Q&A for SharePoint enthusiasts

-- DATEDIFF ( datepart , startdate , enddate )

-- Example usage
SELECT DATEDIFF(DAY, GETDATE(), 2023-22-10) AS DayDiff

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results