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