i18n Standards & Code Snippets

Date, decimal and currency formatting standards per locale, with Java, C#, JavaScript and PHP snippets.

About the i18n Standards & Code Snippets

Formatting standards for dates, decimals, and currencies across locales, with copy-ready code snippets in Java, C#, JavaScript, and PHP. Includes country, state, province, and timezone lists as HTML select, CSV, XML, JSON, and SQL snippets.

Frequently asked questions

Which locales are covered?

The major locales for Europe, the Americas, and Asia-Pacific — 18 locales covering the overwhelming majority of users, expandable on request.

Are the snippets framework-specific?

No — they use each platform standard library: java.time/NumberFormat, .NET CultureInfo, JavaScript Intl, and PHP intl.

Related tools