Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Second Function

Returns a whole number between 0 and 59, inclusive, representing the second of the minute.

Second(time)

The time argument is any expression that can represent a time. If time contains Null, Null is returned.

The following example uses the Second function to return the current second:

Dim MySec
MySec = Second(Now)
   ' MySec contains the number representing the current second.

Community Additions

Show:
© 2015 Microsoft