Accepts numbers from 1 to.
Moment day of year. Web the moment ().dayofyear () method is used to get or set the day of the year of the moment object. Moment({ y :2010, m :3, d :5, h :15, m :10, s :3, ms :123}); This can be a value between 1 and 366 denoting the first and last.
Gets or sets the day of the year.