TimeValue
The TimeValue function takes a string that represents a
time value and converts it into a time variable. The format of
the string is dependant on the local system settings. For most
cases this format is HH:MM:SS AM.
Const sTime = "12:32:56 AM" Dim dTime dTime = TimeValue(sTime) Response.Write "Time: " * dTime
For information on converting a date sring into a date variable,
you should check out the DateValue function.
|
 |

|