Change label text every 2 weeks
Posted on 2014-09-03
I will explain this best way I can. I am designing a piece of software for the department I work in. In the department, there are 3 teams, and 3 shifts. Team A,B,C and the shift times are 0630-1500, 1430-2300, 2230-0700. We rotate every 2 weeks to another shift.
Example: 8-24-2014 to 9-06-2014 A team is 1430-2200, B team is 2230-0700, C team is 0630-1500.
The teams will rotate on 9-07-2014 to 09-20-2014. So then A team is 2230-0700, B team is 0630-1500, C team is 1430-2200.
This happens every 2 weeks. I need to make a label that will look at the time and date and know what team is on what shift. I do not have any code to start with, and I am not asking for code, I am asking for a starting point. I can not wrap my head around how to even start coding this. I have made a lot of programs and have never ran into this before. Any help would be greatly appreciated!! If I did not make sense or need more of a description please let me know. Thanks in advance! I know vb.net fairly well, but do not know c++