JavaScript Intl DateTimeFormat resolvedOptions() Method Last Updated : 12 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report The Intl.DateTimeFormat.prototype.resolvedOptions() method is an inbuilt method in JavaScript that returns a new object with properties reflecting the locale, date, and time formatting options computed during the initialization of this DateTimeFormat object. Syntax: dateTimeFormat.resolvedOptions() Parameters: This method does not accept any parameters. Return value: This method returns a new object with properties reflecting the locale and date and time. The below examples illustrate the Intl.DateTimeFormat.prototype.resolvedOptions() method in JavaScript: Example 1: This example shows the use of the Intl.DateTimeFormat.prototype.resolvedOptions() method in JavaScript. javascript const geeks = new Intl.DateTimeFormat('zh-CN', { timeZone: 'UTC' }); const result = geeks.resolvedOptions(); console.log(result.locale); console.log(result.calendar); console.log(result.timeZone); const geeks1 = new Intl.DateTimeFormat('LT'); const result1 = geeks1.resolvedOptions(); console.log(result1.locale); console.log(result1.calendar); Output: "zh-CN" "gregory" "UTC" "lt" "gregory" Example 2: This example shows the use of the Intl.DateTimeFormat.prototype.resolvedOptions() method in JavaScript. javascript let geeks = new Intl.DateTimeFormat('de-XX', { timeZone: 'UTC' }); let result = geeks.resolvedOptions(); console.log(result.locale); console.log(result.calendar); console.log(result.numberingSystem); console.log(result.timeZone); console.log(result.month); Output: "de" "gregory" "latn" "UTC" "numeric" We have a complete list of Javascript Intl methods, to check those please go through the Javascript Intl Complete Reference article. Supported Browsers: The browsers supported by Intl.DateTimeFormat.prototype.resolvedOptions() method are listed below: Google Chrome 24 and aboveEdge 12 and aboveFirefox 29 and aboveOpera 15 and aboveSafari 10 and above Comment More infoAdvertise with us Next Article JapaneseChronology resolveDate() method in Java with Example S SHUBHAMSINGH10 Follow Improve Article Tags : JavaScript Web Technologies JavaScript-Methods JavaScript-Intl Similar Reads IsoChronology resolveDate() method in Java with Example The resolveDate() method of java.time.chrono.IsoChronology class is used to retrieve the local date according to Iso calendar by parsing chrono field associated with a particular long value in a map with the help of particular resolver style. Syntax: public LocalDate resolveDate( Map fieldValues, Re 2 min read JapaneseChronology resolveDate() method in Java with Example The resolveDate() method of java.time.chrono.JapaneseChronology class is used to retrieve the japanese date according to Japanese calendar by parsing chrono field associated with a particular long value in a map with the help of particular resolver style. Syntax: public JapaneseDate resolveDate( Map 2 min read java.time.LocalDate Class in Java Java is the most popular programming language and widely used programming language. Java is used in all kind of application like as mobile application, desktop application, web application. In this Java java.time.LocalDate class is imported which represents to display the current date. java.time: It 4 min read ThaiBuddhistChronology resolveDate() method in Java with Example The resolveDate() method of java.time.chrono.ThaiBuddhistChronology class is used to retrieve the ThaiBuddhist date according to ThaiBuddhist calendar by parsing chrono field associated with a particular long value in a map with the help of particular resolver style. Syntax: public ThaiBuddhistDate 2 min read MinguoChronology resolveDate() method in Java with Example The resolveDate() method of java.time.chrono.MinguoChronology class is used to retrieve the Minguo date according to Minguo calendar by parsing chrono field associated with a particular long value in a map with the help of particular resolver style. Syntax: public MinguoDate resolveDate( Map fieldVa 2 min read DateFormat Class in Java The java.text.DateFormat is an abstract class that is used to format and parse dates for any locale. It allows us to format date to text and parse text to date. DateFormat class provides many functionalities to obtain, format, parse default date/time. DateFormat class extends Format class that means 4 min read Like