SWiSH Player Support
SWF5 or later - Supported Internally
Syntax
DateObj.getSeconds()
Arguments
none
Returns
an integer
Description
Method; returns an integer (from 0 to 59) representing the current second of the Date Object according to Local Time.
Sample
onFrame (1) {
theDate = new Date();
trace(theDate.getSeconds());
}
// If it is 5:38:23 pm on your system clock - "23" will be returned in the debug window.