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

VBScript TimeValue function


May 13, 2021 VBScript


Table of contents


VBScript TimeValue function

The VBScript TimeValue function is a time-related function that you can learn about in this section!


VBScript TimeValue function Complete VBScript reference manual

The TimeValue function returns variant of Date, a sub-type that contains time.

Grammar

TimeValue(time)

Parameters

parameter describe
time Required.Due to 0:00:00 (12:00:00 A.M.) - 23:59:59 (11:59:59 p.m.) time, or any expression indicating this range.
<script type="text/vbscript">

document.write(TimeValue("5:55:59 PM") & "<br />")
document.write(TimeValue(#5:55:59 PM#) & "<br />")
document.write(TimeValue("15:34"))

</script>

The above example output results:

5:55:59 PM
5:55:59 PM
3:34:00 PM

Try it out . . .


VBScript TimeValue function Complete VBScript reference manual