Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript Second Function

VBScript Second Function


VBScript reference manual Complete VBScript Reference Manual


The Second function returns a number representing the second of the minute, between 0 and 59.

Syntax

Second(time)

Parameters Description
time Required. Any expression representing a time.

Example

Example 1

The example above produces the following output:

21

Try it »

Example 2

The example above produces the following output:

document.write(Second(Now()))

Try it »


VBScript reference manual Complete VBScript Reference Manual