Hour
Gets or sets the hour.
Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the day.
dayjs().hour() // gets current hour
newDate = dayjs().hour(12) // returns new dayjs object
Gets or sets the hour.
Accepts numbers from 0 to 23. If the range is exceeded, it will bubble up to the day.
dayjs().hour() // gets current hour
newDate = dayjs().hour(12) // returns new dayjs object