DateTime.getDayOfYear

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

Return: the day of the year

class DateTime
int
getDayOfYear
()

Meta

Since

2.26