Calculate End (Payroll Date) from Start Date
Posted on 2010-11-10
I have a app that associates request time off in. Currently it display time by a pay period but I have been asked to change that to display the date they are paid.
The pay periods are every two weeks. Pay period starts on a Saturday and ends 14 days later on a Friday. Example, 11/6 to 11/19. I was trying to find a way to calculate what the Payroll date will be for an entry based on the Start Date of the request.
I can find the week (example, week 22) in the code I have but I have no clue how to display the payroll date. Any help would be great!