

Proc cpm data=act holidata=%sysfunc(dequote(&holidayDataset)) date=&d1 out=out interval=weekday Īctual / a_start=a_start a_finish=a_finish įunction networkdays(d1,d2,holidayDataset $,dateColumn $) Here is an alternative suggested by Radhika Kulkarni, and implemented by Liping Cai, Lindsey Puryear and Chuck Kelly. Assuming that you have a data set named USHOLIDAYS with a date column named HOLIDAYDATE, you could use the function like this: This function can read a range of holiday dates from a data set. If ( 1 < weekday (holidays )< 7 ) and (start_date <= holidays <= end_date ) then */ if ( 1 < weekday (start_date )< 7 ) thenĭiff = intck ( 'WEEKDAY', calc_start_date, end_date ) * INTCK computes transitions from one day to the next */ /* To include the start date, if it is a weekday, then */ /* make the start date one day earlier. Rc = read_array (holidayDataset, holidays, dateColumn ) Įlse put "NOTE: networkdays(): No Holiday data considered" If ( not missing (holidayDataset ) and exist (holidayDataset ) ) then * read holiday data into array */ /* array will resize as necessary */ array holidays / nosymbols * make sure the start date < end date */ An alternative approach is to not restate and instead ignore the 53rd week of sales for comparability.Function networkdays (d1,d2,holidayDataset $,dateColumn $ ) The first week of sales for 2017 begins on February 5, 2017, and ends on February 11, 2017, versus January 29 – Februon the 2017-2019 non-restated calendar. The restatement is shown on the 2017-2019 restated calendar. The benefit in doing so is to align holidays, which naturally account for a significant percentage of retailers’ sales. This is accomplished by pushing each week of the 53-week year back one week, thereby ignoring the first week of the fiscal year (in this example, 2017). 2017 is restated for comparability to 2018).

How are sales during a 53-week year compared to the subsequent year?įor comparability purposes, the NRF 4-5-4 Calendar restates a 53-week year in the subsequent year (ex.

However, in 2017 there were four days remaining in January so a 53rd week was added on to the end of that year. For instance, if you look at the 4-5-4 Calendar for 2016-2018, you will see that in 2016 there were only three days remaining in January after the 52nd week (January 29-31). If, after laying out the entire 52-week calendar for any given year, there are four or more days left in January during the 53rd week, then a 53rd week is added. How does NRF determine the need for a 53rd week? This occurs approximately every five to six years, though this is not always the case. What is a 53-week year?ĭue to the layout of the 4-5-4 Calendar (52 weeks x 7 days = 364 days), which results in one remaining day each year, and the occurrence of Leap Year, it is sometimes necessary to add a 53rd week to the end of the calendar for sales reporting purposes only. In recent years, however, as the flow of information has improved, more companies are releasing sales data earlier in the week. The 4-5-4 Calendar also establishes Sales Release dates, which have historically been on the first Thursday following the month’s end. Hence, like days are compared to like days for sales reporting purposes. The layout of the calendar lines up holidays and ensures the same number of Saturdays and Sundays in comparable months. The 4-5-4 Calendar serves as a voluntary guide for the retail industry and ensures sales comparability between years by dividing the year into months based on a 4 weeks – 5 weeks – 4 weeks format. What is the purpose of the 4-5-4 Calendar? Many stores began using the 4-5-4 Calendar in the 1940s. A calendar that maintained the same number of weekends in comparable months was desired and the 4-5-4 Calendar was developed. This calendar became problematic as Saturdays and Sundays became an increasingly large percentage of sales, since the number of weekends in a month varied year to year. Prior to and during the 1930s, retailers used a straight calendar to report monthly sales. The 4-5-4 Calendar, which is widely followed by retailers today, was derived in the 1930s during an informal inter-industry discussion. When and why was the 4-5-4 Calendar created?
