MySQLDate/Time FunctionsSECOND
MINUTE

SECONDDate/Time Functions

DATE_FORMAT

Returns the second.

Syntax

SECOND(time)

Example

Enter values below to update the example in real time.

current_second
SELECT SECOND(NOW()) AS current_second;