JavaScript API
Intl.DateTimeFormat
Format a timestamp with explicit locale and timezone options.
Formal Syntax & Structure
react syntaxreact
new Intl.DateTimeFormat(locale, options).format(date)Working Example
Example Snippetreact
new Intl.DateTimeFormat("en-GB", {timeZone:"UTC"}).format(new Date("2026-03-01T00:15:00Z"))