DateDiff Example

0

Please login or register to vote for this query.

(click on this box to dismiss)

Literature Meta

Q&A for scholars and enthusiasts of literature

DECLARE @MinDate DATETIME;
	SET @MinDate = DATEADD( DAY, DATEDIFF(DAY, 0, GETDATE()) - 3, 0);

select @MinDate AS A

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results