Python command-line utility that calculates the day of year from YYYYMMDD