const instant = Temporal.Instant.from("2021-08-01T12:34:56Z");
console.log(instant.toLocaleString()); // 8/1/2021, 12:34:56 AM (assuming en-US locale and device in UTC time zone)Temporal.Instant.prototype.toLocaleString() / notebook
Temporal.Instant.prototype.toLocaleString()
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.