DateTime.getDayOfYear
int getDayOfYear() nothrowRetrieves the day of the year represented by datetime in the Gregorian calendar.
Returns
the day of the year
int getDayOfYear() nothrowRetrieves the day of the year represented by datetime in the Gregorian calendar.