import { Temporal } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.unstable.d.ts";
const { Now } = Temporal;
The Temporal.Now
object has several methods which give information about
the current date, time, and time zone.
See https://tc39.es/proposal-temporal/docs/now.html for more details.
type
{ instant: () => Temporal.Instant; zonedDateTimeISO: (tzLike?: TimeZoneLike) => Temporal.ZonedDateTime; plainDateTimeISO: (tzLike?: TimeZoneLike) => Temporal.PlainDateTime; plainDateISO: (tzLike?: TimeZoneLike) => Temporal.PlainDate; plainTimeISO: (tzLike?: TimeZoneLike) => Temporal.PlainTime; timeZoneId: () => string; readonly [[Symbol.toStringTag]]: "Temporal.Now"; }