MySQL Date/Time timestamp() FunctionThe timediff() is a MySQL date/time function. It is used to convert the expression into datetime/time. SyntaxParameter:Expression : time/datetime value to be converted Interval : it is optional, it is added into time value Returns:This function returns a datetime value. Example 1Output: ![]() Example 2Output: ![]()
Next TopicMySQL datetime
|