'setDate()' Syntax, Parameters and Note : setDate « Javascript Methods « JavaScript Reference

'setDate()' Syntax, Parameters and Note

Note:

Sets the day of the month.
    
Syntax:
    
dateName.setDate(param1)

Parameters:
    param1   Required; the day of the month. Value: 1 to 31.

    

      
      








Related examples in the same category

1.'setDate()' Example
2.'setDate()' is applied to