dayOfYear function

Convert 'Date' to number of day in a year