function epochMsToTzDate
epochMsToTzDate(
ms: number,
tz: string,
): string

The YYYY-MM-DD calendar day an epoch-ms instant falls on in tz. The inverse direction of dayStartEpochMs, for labelling a stored occurred_at as the local day it belongs to.

Parameters

ms: number
tz: string

Return Type

string

Usage

import { epochMsToTzDate } from "doc.ts";