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