103
MySQL Date/Time second() Function
The second() is a MySQL date/time function. It is used to get the second portion from the given date/datetime.
Syntax
Parameter:
date_value : date/datetime value for getting second.
Returns:
This function returns the second portion of a date value.
Example 1
Output:
Example 2
Output:
Next TopicMySQL datetime