i am trying to build a timecard application for work to keep track of employees hours at 3 different locations. i am having a problem figuring out how to calculate the daily hours and weekly hours of each employee.
i have a database that contains fields for
locationid
employeeid
date
time
action(either in or out)
also employees clock out for breaks and lunches so an employee may clock in and out multiple times during the day.
let me know if you need any more information, it is a monday and my head is kinda foggy.
thanks