ID EN
Date and Time Functions

SECOND(time)

MySQL 8.4

Returns the second for time, in the range 0 to 59, or NULL if time is NULL.

Syntax

MYSQL
SELECT SECOND('10:05:03');
3

Examples

Example
MYSQL
SELECT SECOND('10:05:03');
3