Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

VBScript Second Function

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

Syntax: VBScript Second Function

Second(time)

Arguments: VBScript Second Function

time

Any expression that can represent a time. If time contains Null, Null is returned.

Remarks: VBScript Second Function

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.