Loading lesson path
Concept visual
Start at both ends
Return the seconds part of a datetime value: SELECT SECOND("2017-06-20 09:34:00.000023");
Formula
The SECOND() function returns the seconds part of a time/datetime (from 0 to 59).datetime )
Required. The time or datetime to extract the second from
From MySQL 4.0
Return the seconds part of a time value: SELECT SECOND("23:59:59");
❮ MySQL Functions