the date command uses %j to specify number of days since beginning of year. It looks as though %j is meant to mean Julian day which is ACTUALLY the number of days since the julian calendar started. Currently 2,000,000 or so.
number of days since the beginning of the year is called ordinal date and should be specified with a %o
just a thought.