Skip to main content
Module

x/date_only/mod.ts

A micro library for actual "dates", not "date times"
Latest
import * as dateOnly from "https://deno.land/x/date_only@0.1.0/mod.ts";

Classes

A class to represent Dates and the interval of time they represent.

Error for when DateOnly class or helper functions attempts to do an action and fails

Functions

Get timezone offset in milliseconds from UTC for start and end epoch.

Checks if given date is valid as tested by builtin Date logic

Parses string and returns their date components using regex:

Type Aliases

The hours to offset the DateOnly from UTC time. Other valid options are 'local' and 'min-max'.