node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป

day-of-year

day-of-year

get the day of year because javascript has no tm_yday

Installation

Install with component(1):

$ component install stephenmathieson/day-of-year

API

dayOfYear(date)

get the day of the year from the given date

dayOfYear()

get the current day of the year

License

MIT