SECOND()
SECOND(time)
time
Returns the second for time. This code returns the value 23:
23
SELECT SECOND('11:56:23');