Date.getDayOfYear

Returns the day of the year, where Jan 1 is the first day of the year. The date must be valid.

class Date
uint
getDayOfYear
()

Return Value

Type: uint

day of the year