My school wants me (the school's webmaster) to put in some sort of display that would show the proper day in our 4-day school cycle on the home page. It doesn't have to be anything fancy; just a simple script that shows "Today is Day 1", etc.
Our school operates on a 4-day school cycle. What this means is that on the first day of school, we begin on "Day 1". The kids refer to their class schedule and see where to go for their classes on Day 1. The next day is "Day 2". Again,the kids' classes are the same, but in a different order. Then,"Day 3", same thing, and then "Day 4", same thing again. After Day 4, the cycle starts again on Day 1, and continues in an endless loop until the school year is done.
Of course, there are no school "days" on weekends and statutory holidays (Canadian). For example: Friday, October 9 was "Day 4", but Monday is Thanksgiving in Canada, so there is no school and therefore no school "day". On Tuesday, the school "day" will be Day 1.
So, I need a piece of code I can put on our website's home page to indicate the "day" of the school cycle, but I need that code not to count weekends at the very least. If it can't cope with holidays, that's fine, I can deal with that and make changes as needed.
I've done tons of Google searches and I can't find anything even closely related to what I'm looking for.