Javascript dates are 0 indexed, correct for this