Skip to main content

@dialstack/sdk-dev / js/src / focEasternDate

Function: focEasternDate()

TypeScript
function focEasternDate(
date,
hhmm,
timeZone
): string;

Defined in: sdk/js/src/utils/foc-time.ts:108

The Eastern calendar date (YYYY-MM-DD) of hhmm read in timeZone on date. The carrier counts its lead time on this date, not the one written: in Guam, 09:00 is the previous day in Eastern.

Parameters​

date​

string

hhmm​

string

timeZone​

string

Returns​

string