title: Breakup of months between two Dates
body: <p>i need a loop where <code>x</code> and <code>y</code> are two input variable,<br>
  now I want to get a resulting array in which all period between these two dates are breakup in months.<br>
  For example,  <code>x = 1.1.2019</code> and <code>y = 31.3.2019</code>,<br>
  result would be array like 
  <code>1.1.2019, 31.1.2019, 1.2.2019, 28.2.2019, 1.3.2019, 31.3.2019</code>using LUA programming language.</p>