Date Diff

0

Please login or register to vote for this query.

(click on this box to dismiss)

Network Engineering

Q&A for network engineers

-- DATEDIFF ( datepart , startdate , enddate )

-- Example usage
SELECT DATEDIFF(DAY, '2021-11-29', '2021-12-06') AS DayDiff

Enter Parameters

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