use parseInt for new Date argument