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

x/complaindate/utils/createUtcInstant.ts>createUtcInstant

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

Create a native JS Date object from a date-time interpreted in UTC.

Parameters

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