method Date.setDate
Private
Date.setDate(date: number): number

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

Parameters

date: number

A numeric value equal to the day of the month.

Return Type

number