day_position
Description:
Decodes a day to a position of the weekday.
Parameters:
day |
The encoded day which represents the day of the week and Nth day of the week |
Returns:
The decoded day of the week. 0 == any of day of week. 1 == first, 2 = second, -2 == second to last, etc |