Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The toPlainDate()
method of Temporal.PlainYearMonth
instances returns a new Temporal.PlainDate
object representing this year-month and a supplied day in the same calendar system.