Survey Tabulation > Advanced expressions > UNICOM Intelligence function library > Date and time functions > Second
 
Second
Returns a whole number between 0 and 59, inclusive, representing the second of the minute.
Syntax
Second(Val)
Parameter
Val
Type: Date
The date for which you want to return the second.
(return)
Type: Long
The second of the minute (0 to 59).
Remarks
This is equivalent to DatePart("s", Val).
Example
This example uses the Second function to return the second of the current system time, which is returned using the TimeNow function (see TimeNow).
Second(TimeNow())
See also
Date and time functions