Replace getDay() with getDate()