H
hharry
Hello All,
I'm writing an app to track file transfer activity.
I have this enum to represent days of the week:
Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6
Sunday = 7
If a file should be transferred on a Monday and Friday, I add 1 to 5
and store 6.
How do I go back the way ?
e.g. I have a value of 6, how to get Monday and Friday ?
Pointers appreciated!
Regards
hharry
I'm writing an app to track file transfer activity.
I have this enum to represent days of the week:
Monday = 1
Tuesday = 2
Wednesday = 3
Thursday = 4
Friday = 5
Saturday = 6
Sunday = 7
If a file should be transferred on a Monday and Friday, I add 1 to 5
and store 6.
How do I go back the way ?
e.g. I have a value of 6, how to get Monday and Friday ?
Pointers appreciated!
Regards
hharry