Skip to main content
Module

x/complaindate/mod.ts>splitLocalDateTime

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

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

If called without Date parameter, the current date in the local timezone will be returned.

Parameters

optional
instant: Date