I'm creating a PM scheduling database. Each of the PM's will be scheduled by a week of the year. Whenever a PM is completed it should calculate the next PM due based on the time frame, i.e., weekly, 4-week, 13-week, 26-week or 52-week. An issue arises when the next PM due rolls over to a new year. Since there is no "year" data incorporated into the week number, the weeks will start over again at 1. This will be a problem when figuring out if any PM events are due or late. For example, if the next PM is due in week 2 of 2016 and the current week is 26, comparing the week number to the current week will show this PM actually due in 2016 as past due.
Any ideas on how to accomplish the task here?