Skip to content

charton API


charton API / @chart-on/ui / index / wallTime

Function: wallTime() ​

wallTime(date, time, timezone): number | null

Defined in: ui/src/bottombar.ts:489

The time of date (YYYY-MM-DD) and optional time (HH:MM) as the wall clock in timezone, as <input type="date"> and type="time" give them; null when the date cannot be read.

Parameters ​

date ​

string

time ​

string

timezone ​

string

Returns ​

number | null