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

x/complaindate/utils/splitUtcDateTime.ts>splitUtcDateTime

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

Split native JS Date objects into separate plain-date and plain-time parts in UTC.

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

Parameters

optional
instant: Date