The TIME() function returns the time part from the "Date and Time" argument.
The argument must be of type TIME, DATE or DATETIME, but can also be a number in the format hhmmss or hhmmss.microseconds.
If the argument is a string and contains only a date with no time, the function returns an incorrect result.
If the value of argument "Date and Time" is invalid or NULL, the TIME() function returns NULL. |