Look up VB help on the [blue]Time[/blue] statement and it will tell you the following, and give an example.
Time Statement
Sets the system time.
Syntax
Time = time
The required time argument is any numeric expression, string expression, or any combination, that can represent a time.
Remarks
If time is a string, Time attempts to convert it to a time using the time separators you specified for your system. If it can't be converted to a valid time, an error occurs