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

'setSeconds()' Syntax, Parameters and Note

Note:

Sets the seconds.
    
Syntax:
    
dateName.setSeconds(param1, param2)

Parameters:
    param1   Required; the seconds. Value: 0 to 59.
    param2   Optional; the milliseconds elapsed in the current second. 
                       Value: 0 to 999.

    

      
      








Related examples in the same category

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