MySQL Date/Time timediff() FunctionThe timediff() is a MySQL date/time function. It is used to get the difference from given two time/datetime. SyntaxParameter:time1, time2: time values to get the difference Returns:This function returns the difference between two time/datetime values. Example 1Output: Example 2Output: Next TopicMySQL datetime |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India