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, 2024-10-22, 2024-09-22) AS DayDiff

Enter Parameters

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