My time clock code is good, but I'm having issues with my code for running reports.
I have a couple loops that 1. grab employee info, then 2. display their punches from date1 to date2 (range). I need to show the total hours for each week.
I'm doing a big loop through all the punches in a given date range (per user). What's a good way to separate the total hrs for each week? The week could start on a Tue, Wed or end on a Thurs for example.