in reply to perl basic count days between two dates
%j is the day of year, yday, so yday of end minus yday of star is the number of days between