The TimeSerial function returns a time generated from the specified hours, minutes, and seconds.
|
Syntax | ||||
|
TimeSerial(Hour, Minute, Second) | ||||
|
Return value | ||||
|
Type |
Description | |||
|
Double |
The date determined. | |||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Hour |
Long |
ByVal |
Hour |
|
Required |
Minute |
Long |
ByVal |
Minute |
|
Required |
Second |
Long |
ByVal |
Second |
Please note that the numbers for the parameters are in the respective valid range, i.e. in the range 0 to 23 for Hour and 0 to 59 for Minute and Second.