Name
Date.setSeconds( ) Method — assign the seconds of a date
Availability
Flash 5
Synopsis
date.setSeconds(second)
Arguments
- second
An integer from 0 to 59 representing the new seconds of the minute of
date
. Values above 59 or below 0 are carried over to the minutes ofdate
.
Returns
An integer representing the number of milliseconds between the new date and midnight, January 1, 1970.
See Also
Date.getSeconds( )
Get ActionScript: The Definitive Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.