Date Diff


Please login or register to vote for this query.

(click on this box to dismiss)

Science Fiction and Fantasy Meta

Q&A about the site for science fiction and fantasy enthusiasts

-- DATEDIFF ( datepart , startdate , enddate )

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

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results