Code tool

Country Dates

Enter a locale such as en-US, zh-CN, or fil-PH and a date to compare the formats your browser provides.

In-browser processingNo account requiredPrivacy details ↗

Examples: en-US, en-GB, zh-CN, fil-PH, hi-IN.

Enter a locale and date.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a BCP 47 locale and an ISO date or date-time.
  2. Choose a region when the locale includes one, then format the sample.
  3. Compare short, medium, and long date and time examples.

Locale-driven examples

The tool passes your BCP 47 locale to Intl.DateTimeFormat and shows short, medium, and long date styles plus short, medium, and long date-time styles.

Regions where feasible

A region subtag such as US, GB, CN, PH, or IN can influence the result. The browser decides which locale data and regional conventions are available; this is not a complete country or territory directory.

Runs locally

Parsing and formatting happen in this browser. Nothing is uploaded or saved.

GOOD TO KNOW

Common questions

Does this cover every country?

No. It formats the locale you provide when the browser supports it; it is a locale-format experiment, not a complete country database.

What locale should I enter?

Use a valid BCP 47 tag such as en-US, en-GB, zh-CN, ja-JP, ko-KR, fil-PH, or hi-IN.

Why can browsers show different text?

Intl data and browser versions can differ, including punctuation, translated names, and available regional conventions.