Date.prototype.setDate

Sets the numeric day of the month value of the Date object using local time.

Syntax

setDate(date)

Parameters