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