DateTime.getDayOfYear

int getDayOfYear() nothrow

Retrieves the day of the year represented by datetime in the Gregorian calendar.

Returns

the day of the year