The given date
Optional
The options
The day of year
getDayOfYear
Get the day of the year of the given date.
// Which day of the year is 2 July 2014?const result = getDayOfYear(new Date(2014, 6, 2))//=> 183 Copy
// Which day of the year is 2 July 2014?const result = getDayOfYear(new Date(2014, 6, 2))//=> 183
The given date