Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/complaindate/utils/splitLocalDateTime.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/utils/splitLocalDateTime.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