I am taking a date, converting it to a julian date, adding a specified amount of days then converting it back. It works fine except for end of year and I’m not sure how to tackle that one.
Correction. I can make this work during a normal year with 365 days but am not sure how to calculate the leap year with 366 days.