Get Seconds Method
The Get Seconds method returns the seconds portion of a date object as a number from 0 through 59. For more information, see Values for Dates and Times.
Format
dateVar.getSeconds()
The following code returns the
number 14
, which is the seconds portion of the specified
date:
var aDate = new Date("October 31, 1986 12:13:14");
TheApplication().RaiseErrorText(aDate.getSeconds());