DateDiff Example

0

Please login or register to vote for this query.

(click on this box to dismiss)

Academia Meta

Q&A about the site for academics and those enrolled in higher education

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

Enter Parameters

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