AiThe date to format (Date object or ISO string).
The target format pattern.
The formatted date string.
Pure function (no browser context). Supports ISO, SAP_INTERNAL, EUROPEAN, US, JAPANESE formats. Use to prepare date values before passing to setDatePickerValue().
Pure function (no browser context). Supports the five patterns in DATE_FORMATS.
Formats a Date object into a UI5-compatible date string.