toTime
function toTime(value, language?): string;
Formats a value as a HH:mm time string.
Parameters
| Parameter | Type | Description |
|---|---|---|
value | number | Date | the date to format |
language? | string | the language to format for, usually i18n.language. When omitted the runtime default locale is used, which does not follow the language selected in the app. |
Returns
string