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

x/complaindate/mod.ts>PlainDate

JavaScript date-time utilities that keeps timezones on the surface
Go to Latest
function PlainDate
import { PlainDate } from "https://deno.land/x/complaindate@v0.7.2/mod.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