NDAYINYEAR(x;m) the number of the day in year corresponding to data-time value x, and starting the year at the beginning of month m (default 1). You can use MFRACTION(x;1;1) instead of NDAYINYEAR to obtain a day number within the year that will be the same for each day-month combination, whether or not this is a leap year.
NDAYINYEAR
Updated on December 4, 2017