O3 Framework / formatTime
formatTime(
date):string
Defined in: packages/framework/esm-utils/src/dates/date-util.ts:396
Formats the input as a time, according to the current locale. 12-hour or 24-hour clock depends on locale.
Date
The date whose time portion should be formatted.
string
The formatted time string (e.g., “2:30 PM” or “14:30”).