DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()), 0)

0

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 DATEADD(QUARTER,DATEDIFF(QUARTER,0,GETDATE()),-1)

Enter Parameters

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