myDate.setDate( day ) in ECMAScript 262

Set the day number in the local timezone.

Arguments

nametypedescription
day Number The new day number, expressed<
Return Type
Number