formatDateTime
formatDateTime(
value):string|undefined
Defined in: js-xbbg/src/dates.ts:119
Format a datetime-like value to RFC 3339 (ISO 8601 with optional offset).
Naive ISO strings without a tz suffix are returned as-is so the Rust engine
can apply the caller’s request_tz. Anything else (Date, epoch ms, Luxon
DateTime, or ISO with explicit tz) is converted to a tz-bearing ISO string.
Parameters
Section titled “Parameters”DateLike | null | undefined
Returns
Section titled “Returns”string | undefined