Bob,
Merely by using the julian date, it doesn't matter if it is a leap year or not. The problem will always be at the end of the year.
Non-leap year:
360 = transmit
365 = end of year
Next year
010 = next date of transmit
360 = last transmit for year
next year (leap)
010 = next date of transmit
360 = last transmit for year
next year (non-leap)
010 = next date of transmit.
...
So, no matter if it is a leap year or not, you WILL have issues at the end of each year.
It will either be 15 days for a non-leap year or 16 days for a leap year.
You need a better way, unless it doesn't matter at the end of the year. May I suggest that you always send the next files at the end of the year no matter the date difference?
live free or die
harry
Live Free or Die