Permalink
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 245 Bytes
title version signature
Day of Year
2.0.0
moment().dayOfYear(Number); moment().dayOfYear(); // Number

Gets or sets the day of the year.

Accepts numbers from 1 to 366. If the range is exceeded, it will bubble up to the years.