Skip to content
Go to file
Cannot retrieve contributors at this time
12 lines (9 sloc) 245 Bytes
title version signature
Day of Year
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.

You can’t perform that action at this time.