取得或設定小時。 接受 0 到 23 的數字。如果超出範圍,它會向上進位到天。 dayjs().hour() // gets current hour newDate = dayjs().hour(12) // returns new dayjs object