DateDiff Example


Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT DATEDIFF(DAY, GETDATE(), GETDATE() + 10) -- add ten days for comparison

Enter Parameters

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