Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / JavaScript

Intl.DateTimeFormat

Enables language-sensitive date and time formatting.

Syntax
new Intl.DateTimeFormat(locale, options)

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working Intl.DateTimeFormat usage example
// Example for Intl.DateTimeFormat
// Standard verified syntax construct
console.log('Intl.DateTimeFormat initialized');
Standard JavaScript language feature verified across modern versions.