Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

VBScript Second function


May 13, 2021 VBScript


Table of contents


VBScript Second function

By using the VBScript Second function, you can return the number of seconds of time.


VBScript Second function Complete VBScript reference manual

The Second function returns a number that represents the number of seconds in a minute, between 0 and 59.

Grammar

Second(time)

Parameters

parameter describe
time Required.Any expression of the time.

Instance 1

<script type="text/vbscript">

document.write(Second("13:45:21"))

</script>

The above example output results:

21

Try it out . . .

Instance 2

<script type="text/vbscript">

document.write(Second(Now()))

</script>

The above example output results:

document.write(Second(Now()))

Try it out . . .


VBScript Second function Complete VBScript reference manual