Package: effect
Module: DateTime
Format a DateTime as a string using the DateTimeFormat API.
This forces the time zone to be UTC.
Signature
declare const formatUtc: { (options?: (Intl.DateTimeFormatOptions & { readonly locale?: Intl.LocalesArgument; }) | undefined): (self: DateTime) => string; (self: DateTime, options?: (Intl.DateTimeFormatOptions & { readonly locale?: Intl.LocalesArgument; }) | undefined): string; }
Since v3.6.0