You can use the SetTime attribut function to set the time of the variable.
|
Syntax | ||||
|
SetTime(Hour, Minute, Second) | ||||
|
Return value | ||||
|
None | ||||
|
Parameter | ||||
|
Use |
Name |
Type |
Passing |
Description |
|
Required |
Hour |
Long |
ByVal |
Hour between 0 and 23 (default 0) |
|
Required |
Minute |
Long |
ByVal |
Minute between 0 and 59 (default 0) |
|
Required |
Second |
Long |
ByVal |
Second between 0 and 59 (default 0) |