Hi,
I'm trying to write a query to return a list of quarterly dates starting from any given START DATE. For example, here is the original
incremented list:-
20/8/2015 START DATE
21/8/2105
22/8/2015
23/8/2015
...and so on ...
20/11/2015
21/11/2015
22/11/2015 ... and the list of dates go on.
The result should look like this:-
20/8/2015 (START DATE)
20/11/2015
20/2/2016 ... etc
So the end result will be a list of dates every three months. I've tried DATEPART, DATEADD, GROUPING etc but to no avail.
Thanks in advance.
I'm trying to write a query to return a list of quarterly dates starting from any given START DATE. For example, here is the original
incremented list:-
20/8/2015 START DATE
21/8/2105
22/8/2015
23/8/2015
...and so on ...
20/11/2015
21/11/2015
22/11/2015 ... and the list of dates go on.
The result should look like this:-
20/8/2015 (START DATE)
20/11/2015
20/2/2016 ... etc
So the end result will be a list of dates every three months. I've tried DATEPART, DATEADD, GROUPING etc but to no avail.
Thanks in advance.