I\'m Trying to get the timediff from my table and convert it to hours (it\'s for an hourly billed service)
SELECT TIME_TO_SEC(TIMEDIFF(endDate,startDa
for getting Diffrence in Hour :
Hour(TIMEDIFF(date1,date2)) as Hour1
for getting Diffrence in Minute :
Minute(TIMEDIFF(date1,date2)) as Minute1
for getting Diffrence in Second :
Second(TIMEDIFF(date1,date2)) as Second1