formatUTCISODate

external fun formatUTCISODate(date: Date): String

Format a date instance in ISO 8601 ("YYYY-MM-DD") or 6-digit extended ISO 8601 ("+YYYYYY-MM-DD", "-YYYYYY-MM-DD") format.

Uses UTC date components to allow handling date instances independently of the system time-zone.