SECOND()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns the second for a given time (which can include microseconds), in the range 0 to 59, or NULL if not given a valid time value.
EXAMPLES
SELECT SECOND('12:01:30');
+--------------------+
| SECOND('12:01:30') |
+--------------------+
| 30 |
+--------------------+
SELECT SECOND('12:01');
+-----------------+
| SECOND('12:01') |
+-----------------+
| 0 |
+-----------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.