I'm developing a special schedule program for my school, which incorporates a six-day schedule (in a 5 day week).
Currently, I use this formula to figure out what day it is on this special schedule:
So if the day of the year was 255 and the number of skip days was 2 then the current "day" on the 6-day schedule would be Day 5.
([Day of the Year] mod 6)+[Number of days to skip]
However, I'm looking for a way to set this up so that my users don't have to set two skip days every time a weekend comes up. Does anyone know an efficient way for the program to determine how many weekends have gone by since it was last opened?
For dynamics, I am using the standard INI object.