I got a very simple binary mask.
1 = Sunday
2 = Saturday
4 = Friday
8 = Thursday
16 = Wednesday
32 = Tuesday
64 = Monday
So if you want a combination of Wednesday, Thursday and Friday you get 16 + 8 + 4 = 28
Now further along my code I only have the mapped binary value. What would be the best way to 'remap' this value (28) to Wed, Thu and Fri?
Hope to get some input on how to do this :).
Kind regards, Niels