Retrieves the day of the year represented by this in the Gregorian calendar.
a DateTime
the day of the year