Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The daysInMonth
accessor property of Temporal.PlainDate
instances returns a positive integer representing the number of days in the month of this date. It is calendar-dependent.
Note that the days in month is not always equal to the day
of the last day of the month, in the rare case where a month may have a few days skipped.
The set accessor of daysInMonth
is undefined
. You cannot change this property directly.