You're both right and wrong...
I couldn't figure why my test program works and you say it didn't... it took me ages to discover I've posted the wrong subroutine...
So yes, there was an erroneous result, but the solution was a rehash of the existing lines... TempA must still stay as If TempA=0...
I have corrected it now...
28/2/04 is Days 1519
29/2/04 is Days 1520
01/3/04 is Days 1521
Also now valid for DAYS=2980, 2981, 2982 etc up the leap years.
Bookmarks