I need a simple help. I wuold like to have a function that generate an array (or a list) of quarters between two dates, in JavaScript. The first one is fixed, while the second date is today.
For example: I wish I have a list of quarters between the first day of 2016 and today. So I would like to have this kind of list
{Gen-Feb-Mar 2016,
Apr-May-June 2016,
Jul-Ago-Sep 2016,
Oct-Nov-Dec 2016,
Gen-Feb-Mar 2017}
The final purpose is to put it into a combo selection.
Could anyone help me?
Thanks in advance