Hi,
I want to find the the exact difference between two dates in seconds through MySQL query.
Version: 4.1
Platform: Linux
Source code:
>select datediff('2007-01-09 10:24:46','2007-01-09 10:23:46')
The datediff() function has only two datetime parameters and returns the difference in days.Instead if i want the value to be returned in seconds,what is the possible way??
I want to find the the exact difference between two dates in seconds through MySQL query.
Version: 4.1
Platform: Linux
Source code:
>select datediff('2007-01-09 10:24:46','2007-01-09 10:23:46')
The datediff() function has only two datetime parameters and returns the difference in days.Instead if i want the value to be returned in seconds,what is the possible way??
Comment