Well, dayofyear is a small stupid utility to determine what the date is a given year day. With no arguments dayofyear displays the date, when the Programmers day will be celebrated in current year :) It is quite useless.
Don't let your head hang down, fox. I'm working on quite the same program. It's a wonderful chance to improve your math skills and write a small and cool program. Keep it going.