Good afternoon everyone,
I have a system where I must control the time of entry and exit of vehicles. To do this, I have two DateTime fields stored in Mysql (date1, date2). I need, in PHP, calculate the difference between both fields and show it hours and minutes and seconds, knowing that date1 is the time of entry and date2 the output. Thank you in advance for the help.