The time function evaluates and converts expression to a time value. It is useful for converting strings containing times into a time value.
If the data type of expression is string or character, it is converted to a time using the default formatting set. If expression is one of the numeric data types real, integer, or long, it is taken as the number of seconds since midnight. All other data types return an undefined result.