DateTime.getDayOfYear

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

class DateTime
int
getDayOfYear
()

Return Value

Type: int

the day of the year

Meta