I am creating a Payroll System for my project as a senior student.I already have the code for calculating the total hours worked and the corresponding
value for gross pay, net pay, deductions, etc.
My only problem is on how to calculate the total hours worked per day when the
user only inputs the In-and-Out time.
-> [8:00] - [12:00] / [1:00] - [5:00 ] - [Total Hours]
This is to remove the hassle of manually calculating for the total number of hours worked
by the employees.
I really need help on this one.
I hope somebody could help me.
I really want to learn.