日期
获取或设置月中的第几天。
¥Gets or sets the day of the month.
接受从 1 到 31 的数字。如果超出范围,它将冒泡到几个月。
¥Accepts numbers from 1 to 31. If the range is exceeded, it will bubble up to the months.
dayjs().date() // gets day of current month
dayjs().date(1) // returns new dayjs object
dayjs#date表示月份的日期,dayjs#day表示星期几。¥
dayjs#dateis for the date of the month, anddayjs#dayis for the day of the week.
