TimeOfDay = datetime
The required datetime argument is any numeric expression, string expression, or any combination, that can represent a time.
If datetime is a string, TimeOfDay 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.
Date Function | Date Statement | Time Function