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
|
Javatpoint provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India