Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/complaindate/utils/createLocalInstant.ts>createLocalInstant

JavaScript date-time utilities that keeps timezones on the surface
Go to Latest
function createLocalInstant
import { createLocalInstant } from "https://deno.land/x/complaindate@v0.7.2/utils/createLocalInstant.ts";

Create a native JS Date object from a date-time interpreted in the system's local timezone.

Parameters

unnamed 0: { year: number | string; month?: number | string; day?: number | string; hour?: number | string; minute?: number | string; second?: number | string; millisecond?: number | string; }