![]() |
Sergey Kornilov admin 2/27/2012 |
Check DATEDIFF() function in MySQL for this purpose: |
C
|
ckapote author 2/27/2012 |
Check DATEDIFF() function in MySQL for this purpose: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_datediff
|
![]() |
Sergey Kornilov admin 2/27/2012 |
Here it is: SELECT DATEDIFF('2010-11-30 23:59:59','2010-12-31') |