Skip to content

formatDateTime

function formatDateTime(input, options?): string;

Defined in: src/ui/format.ts:25

Absolute date-time, locale-aware ("Nov 21, 2026, 03:04 PM").

Parameter Type
input string | number | Date | null | undefined
options? FormatDateTimeOptions

string