300
MySQL Date/Time timestamp() Function
The timediff() is a MySQL date/time function. It is used to convert the expression into datetime/time.
Syntax
Parameter:
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 1
Output:
Example 2
Output:
Next TopicMySQL datetime