Name
Second Function
Syntax
Second(time
)
-
time
Use: Required
Data Subtype: String, numeric, or date/time
Any valid expression that can represent a time value.
Return Value
A Variant of subtype Integer in the range 0 to 59.
Description
Extracts the seconds from a given time expression.
Rules at a Glance
If the time expression time is Null
, the
Second
function returns Null
.
See Also
Hour Function, Minute Function |
Get VBScript in a Nutshell 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.