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

'setUTCMonth()' Syntax, Parameters and Note

Note:

Use UTC time to set the month.
    
Syntax:
    
dateName.setUTCMonth(param1, param2)

Parameters:
    param1   Required; the month. Value: 0 to 11.
    param2   Optional; the day of the month. Value: 1 to 31. 

    

      
      








Related examples in the same category

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