VBScript TimeValue Function
Complete VBScript Reference Manual
The TimeValue function returns a Variant of subtype Date containing a time.
Syntax
TimeValue(time)
| Parameters | Description |
|---|---|
| time | Required. A time between 0:00:00 (12:00:00 A.M.) and 23:59:59 (11:59:59 P.M.), or any expression representing a time within this range. |
Example
Example
The example above produces the following output:
5:55:59 PM
5:55:59 PM
3:34:00 PM
Try it »
Complete VBScript Reference Manual