VBScript TimeValue Function
Complete VBScript Reference
The TimeValue function returns a Variant of subtype Date that contains the time.
Syntax
| Parameter |
Description |
| time |
Required. A time from 0:00:00 (12:00:00 A.M.) to
23:59:59 (11:59:59 P.M.) or any expression that represents a time in that
range |
Example 1
document.write(TimeValue("5:55:59 PM") & "<br />")
document.write(TimeValue(#5:55:59 PM#) & "<br />")
document.write(TimeValue("15:34"))
Output:
5:55:59 PM
5:55:59 PM
3:34:00 PM
|
Complete VBScript Reference

The Altova MissionKit, recent winner of the Jolt Product Excellence and Productivity Award for Best Development Environment,
is an integrated suite of tools ideal for:
- XML development
- Web & Web services development
- Data mapping & integration
- Rendering & publishing XML & database data
- XBRL validation, taxonomy editing, transformation & rendering
The MissionKit for XML Developers includes XMLSpy®, MapForce®, and StyleVision® plus 3 additional tools for less than the price of 2.
Try all 6 products free for 30 days!
Download a fully-functional free trial
|
|
|
|