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

x/complaindate/mod.ts>splitLocalDateTime

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

Split native JS Date objects into separate plain-date and plain-time parts in the system's local timezone.

Parameters

optional
instant: Date