I have two dates in the format yyyy-mm-dd HH: ii: ss
The entry date "$ dataE" and the exit date "$ dataS", is intended to save an employee's date of entry and exit date. So far so good, now we need to get those two values "$ dataE" and "$ dataS" and make the difference to know the total working hours.