How do suptract 33 hours – 30 min in PHP – Laravel
My Code is : $hm = strtotime('33:00:00')-strtotime('00:30:00'); $hms = gmdate("H:i:s", $hm); i need the output is 32:30:00
My Code is : $hm = strtotime('33:00:00')-strtotime('00:30:00'); $hms = gmdate("H:i:s", $hm); i need the output is 32:30:00
I made two statements - SUM of revenue and expenses in different tables using group by id (each id has more than one revenue and expenses records): select id_person, SUM (revenue_d) as sum_revenue from sales group by id_person; select id_person,…