I need to design a calendar view in which week should be Monday to Sunday whereas in Current Teradata calendar it's Sunday to Monday.
I am done with logic for DAY_OF_WEEK column but facing difficulty in WEEK_OF_YEAR column , here also week should be considered from Monday to Sunday and also boundry days are to be considered e.g. if first day of sunday then it should come in last year's last week.
Please suggest.
↧