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

0

Please login or register to vote for this query.

(click on this box to dismiss)

Operations Research Meta

Q&A about the site for operations research and analytics professionals, educators, and students

SELECT DATEPART(MONTH,GETDATE())-1

Enter Parameters

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