My scenario: I have SalesDate (eg: 2007-01-01 to 2016-01-01) filed like this up to todate and have daily date. Now I have to find this salesdate belong to which week.
Condition
Start day of week is Sunday. Based on year, if new year starts week count start as 1.