I have a laravel app in which i'm getting data from python software
data i'm getting from software - clock in time(when user sign in on software) & clock out time(when user is living the software)
what i want to achieve - i want to get the amount of time user spend in software for example:- clock in time = 5:00 PM
& clock out time = 6:10 PM
so the user has spend 1 hour & 10 minutes
on the software so how can we write this login in Laravel or PHP
(note - time is in hour-minute formet)