TimeSerial
The TimeSerial function takes the individual components of
a time value and converts them into a time variable. The
parameters are the hour, minute and second. The system will use
the local system settings to determine how this time will be
represented.
Dim dTime Const nHour = 12 Const nMinute = 59 Const nSecond = 59 dTime = TimeSerial(nHour, nMinute, nSecond) Response.Write "Time: " & dTime
You may also use the DateSerial function to convert date
components into a valid date variable.
|
 |

|