Calculates a time. The TimeValue function expects the argument value (Time) to be a string or any expression that can represent a time value.
A string or expression that can represent a time value. This includes and combination of time literals, numbers that look like times, strings that look like times, and times from functions.
Returns a variant (of date data type) corresponding to the parameter (Time).
varMyTime = TimeValue("2:35:17 PM")
' stores time as 14:35:17