does anyone know, how to get the start and end dates of the quarters of a year? Basically I need start and end dates of the current quarter and the following 3 quarters.
I have a dropdown and it´s dates should be filled dynamically to look like this:
<select name="quarter-selection">
<option value="2012-07-01,2012-09-31">Q3 2012</option>
<option value="2012-10-01,2012-12-31">Q4 2012</option>
<option value="2013-01-01,2013-03-31">Q1 2013</option>
<option value="2013-04-01,2013-06-30">Q2 2013</option>
</select>
Any help highly appreciated. thx, Florian