I have a problem where our system stores employee vacations with only a start date and end date. So if an employee takes off for five days I only have two fields to work with, start date and end date. The problem is I need to look at each date within this range to determine by day of week what they should be paid. Does anyone have any ideas on how to acheive this.
I tried taking the DateDiff to determine the number of days for the date range, but an employee can be paid different amounts for each day so this won't work.
I tried taking the DateDiff to determine the number of days for the date range, but an employee can be paid different amounts for each day so this won't work.