>But this solution is wrong by one day! - my diary says today is the 106th day of the year - not the 105th :-)
This is what a mentor of mine called the "off-by-one-error". That was decades ago and I've had many occasions to remake its acquiantance since!
Peter :-)
Peter Robinson ** Rodes Design ** Virginia