DateDiff Example

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

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

Enter Parameters

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