Microsoft® Visual Basic® Scripting Edition Second Function | Language Reference Version 1

See Also

##### Description

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

##### Syntax

> Second(time)

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

##### Remarks

> 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.

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.