formatDate
formatDate(
value):string|undefined
Defined in: js-xbbg/src/dates.ts:88
Format a date-like value to YYYYMMDD (Bloomberg-native).
Accepts Date, ISO 8601 / Bloomberg-native strings, epoch ms, and any
duck-typed Luxon-style { toJSDate(): Date }. Strict on ambiguous formats.
Parameters
Section titled “Parameters”DateLike | null | undefined
Returns
Section titled “Returns”string | undefined