Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function dateToEpochDay
import { dateToEpochDay } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/temporal-util.ts";

Converts given local date into a single integer representing it's epoch day.

Parameters

year: NumberOrInteger | string

the year of the local date to convert.

month: NumberOrInteger | string

the month of the local date to convert.

day: NumberOrInteger | string

the day of the local date to convert.

Returns

epoch day representing the given date.