JSREF

JavaScript Date setDate()

setDate() sets the day of the month of a date.