Error creating day number of year using DayNumberOfYear function
Im trying to create the day number of year using DayNumberOfYear function. However, all my dates before year 2000 starts from 2nd of january, and the 1stof january gets the number 366. All days after and including year 2000 gets the right numbers. Is this an error, or am I not using the DayNumberOfYear function correctly.
The issue arised when was creating a master calendar from start date 1950.
Also I have noticed that 01-01-2000 also have DayNumerOfYear = 366