JavaScript setDate()

The setDate() method sets the day of a date object: