Calculating WEEKOFYEAR() for weeks that start on a day other than Sunday or Monday
My company uses a fiscal calendar where the weeks start on Saturdays. According the the JSL WEEKOFYEAR() function we have two options: Rule 1 and 2 for weeks that start on Sundays, and Rule 3, for we...