[Chapter 21] Reference: Date.setSeconds()
Author: David Flanagan
Date: Fri Aug 29 11:14:44 1997

#

| Chapter 21 JavaScript Reference |

# Date.setSeconds() Method

## Name

Date.setSeconds() Method---set the seconds field of a Date

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    date.setSeconds(seconds)

### Arguments

`seconds`

  An integer between 0 and 59 that is set as the seconds value for the Date object `date`.

### Returns

nothing

## See Also

"Date", "Date.getSeconds()"

Date.setMonth() |  | Date.setTime()