-
Syntax:
- TimeSerial(Hour, Minute, Second)
- Hour
- The Hour argument is the hour as a string or integer.
- Minute
- The Minute argument is the minute as a string or integer.
- Second
- The Second argument is the second as a string or integer.
The TimeSerial function converts the arguments into the variant
of subtype Date.
Examples
Code:
<% =TimeSerial(12, 11, 10) %>
Output:
12:11:10 PM
Language(s):
VBScript
Code:
<% =TimeSerial("12", "11", "10") %>
Output:
12:11:10 PM
Language(s):
VBScript
See Also: