Create a UTC datetime format function.
A new UTC datetime format function.
This formatter uses Date.toUTCString() to format the values.
Date.toUTCString()
If a value is not a Date object, new Date(value) is used to coerce the value to a date.
Date
new Date(value)
The formatIntlDateTime() formatter is more flexible, but slower.
formatIntlDateTime()
The options for creating the format function.
Generated using TypeDoc
Create a UTC datetime format function.
Returns
A new UTC datetime format function.
Notes
This formatter uses
Date.toUTCString()to format the values.If a value is not a
Dateobject,new Date(value)is used to coerce the value to a date.The
formatIntlDateTime()formatter is more flexible, but slower.