Second Function

Named Arguments

No

Syntax

Second(time)

time

Use: Required

Data Type: Variant

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 VB & VBA in a Nutshell: The Language 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.