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

#

| Chapter 21 JavaScript Reference |

# Date.getSeconds() Method

## Name

Date.getSeconds() Method---return the seconds field of a Date

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    date.getSeconds()

### Arguments

none

### Returns

The seconds field of the specified Date object `date`. Return values are between 0 and 59.

## See Also

"Date", "Date.setSeconds()"

Date.getMonth() |  | Date.getTime()