I'm building a check in and out system for my work, the employee can set a start time and after his shift he can set the end time. but here is the problem:
If i start at 17:00 till 23:15 I want to show te result as 6.25 hours worked.
For example 15 minutes (¼ hour) equals .25, 30 minutes (½ hour) equals .50, etc.
Googled a lot of this but i can't find a solution for php. Someone who can help me with this? :)
Many thanks.