VBScript Second Function
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 »
Complete VBScript Reference Manual