get the day of year because javascript has no tm_yday
JavaScript Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.npmignore
History.md
Makefile
Readme.md
component.json
index.js
package.json

Readme.md

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