formatDateTime
formatDateTime(
value):string
Defined in: js-xbbg/src/index.ts (declaration: index.d.ts:1004)
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
value
Returns
string
