Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The toZonedDateTime()
method of Temporal.PlainDate
instances returns a new Temporal.ZonedDateTime
object representing this date, a supplied time, and a supplied time zone, in the same calendar system.