Quarter
Gets or sets the quarter.
This dependent on
QuarterOfYear
plugin to work
dayjs.extend(quarterOfYear)
dayjs('2010-04-01').quarter() // 2
dayjs('2010-04-01').quarter(2)
Gets or sets the quarter.
This dependent on
QuarterOfYear
plugin to work
dayjs.extend(quarterOfYear)
dayjs('2010-04-01').quarter() // 2
dayjs('2010-04-01').quarter(2)