The SECOND() function returns the Seconds from "Date and Time" in the range of 0-59.
The "Date and Time" argument must be of type DATE, DATETIME or TIME.
With arguments of type DATE, the function always returns 0.
If the argument is a string containing only a date, the function returns an incorrect value.
If the "Date and Time" value is invalid or NULL, the SECOND() function returns NULL. |