Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dayjs dayofyear

dayjs.extend(dayOfYear)

dayjs('2010-01-01').dayOfYear() // 1
dayjs('2010-01-01').dayOfYear(365) // 2010-12-31
Source by day.js.org #
 
PREVIOUS NEXT
Tagged: #dayjs #dayofyear
ADD COMMENT
Topic
Name
2+3 =