How can i find the date difference in hours using php and mysql both.
Use TIMEDIFF() then take the part before the first colon to get the hours.