I have got this:
startDate = new Date(); startDate = new Date(Date.parse('2014-10-20')); finishDate = new Date(); finishDate = new Date(Date.parse('2014-11-21')); - The startDate is
Mon Oct 20 2014 01:00:00 GMT+0100 (Hora de Verão de GMT); - The finishDate is
Fri Nov 21 2014 00:00:00 GMT+0000 (Hora padrão de GMT);
You can see the GMT+0100 in the startDate and not in the finishDate, possibly because after 26 October the winter time is on.
I want to get those dates without regard to the timezone, winter or summer time.
date.jsfor that.date.jshas been abandoned,moment.jskind of replaced it. I'm looking for a solution without any of them