I need to subtract time/day using a mysql query;
It is something like 02:00 in (GMT-1) on saturday – wednesday 00:59 in (GMT+5)
How can I do this with a sql query? and get result like 3 days 7 hours and 1 minutes
edit: both days are of same week
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming the dates for this work, and thanks to @symcbean I could get it to work with TIMEDIFF
and for the days hours and minutes: