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