I'm trying to add 3 days in a date, like this:
var dat = new Date(2014,9,16);
Thu Oct 16 2014 00:00:00 GMT-0300 (Hora oficial do Brasil)
dat.setDate(19);
Sat Oct 18 2014 23:00:00 GMT-0300 (Hora oficial do Brasil)
Why this not returns this Sat Oct 19 2014 23:00:00 GMT-0300 (Hora oficial do Brasil)?