day-of-year

get the day of year because javascript has no tm_yday

npm install day-of-year
7 downloads in the last week
9 downloads in the last month

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

npm loves you