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.
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.