Skip to main content
Module

x/complaindate/PlainDate.ts>PlainDate

JavaScript date-time utilities that keep timezones on the surface
Latest
function PlainDate
import { PlainDate } from "https://deno.land/x/complaindate@v1.0.1/PlainDate.ts";

Factory function for making basic plain-date objects with minimal properties.

Parameters

unnamed 0: { year: number | string; month?: number | string; day?: number | string; }

A date object with properties year, month & day

Returns

A new immutable plain-date object