DECLARE @Year DATE = '2013-01-01' DECLARE @Quarter INT = 4; SELECT DATEADD(QUARTER, @Quarter - 1, @Year) , DATEADD(DAY, -1, DATEADD(QUARTER, @Quarter, @Year))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter