Temporal.ZonedDateTime.prototype.daysInMonth

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Thuộc tính accessor daysInMonth của các instance Temporal.ZonedDateTime trả về một số nguyên dương biểu diễn số ngày trong tháng của ngày này. Giá trị này phụ thuộc vào calendar.

Set accessor của daysInMonthundefined. Bạn không thể thay đổi thuộc tính này trực tiếp.

Để biết thêm thông tin chung và ví dụ, hãy xem Temporal.PlainDate.prototype.daysInMonth.