SECOND

2024-04-19 08:42:50  Updated

Syntax

SECOND(time)

Purpose

SECOND() returns the seconds of time.

Examples

obclient> SELECT SECOND('18:20:17');
+--------------------+
| SECOND('18:20:17') |
+--------------------+
|                 17 |
+--------------------+
1 row in set

Contact Us