JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

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()"


Previous Home Next
Date.setMonth() Book Index Date.setTime()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell