How to get first day of the current quarter

Example:
--First day of the current quarter
SELECT DATEADD(qq, DATEDIFF(qq, 0, GETDATE()), 0)
Result:

Post a Comment

0 Comments