in reply to Number of day in the year to proper date
can you help me understand why?
Because you use hard to read and highly convoluted code, and you try to do date calculations "by hand".
The recent thread Best way of getting YEAR-MONTH-DAY from YEAR-DAYOFYEAR ? covers some possibilities that look far nicer and seem to work.
|
|---|