Well, I get back a date of the beginning of period
and I should calculate the date of the end of period.
First problem, the date of the beginning is a string. So, it is necessary to convert to Date object.
Second problem, I should calculate the date of the end.
Ex: date at the beginning of 2002-02-01 then the date of the end will be 2003-01-31).
But I don't know how to make!
Thank you for his help!