Formatting with Intl
Formatting today's date via toLocaleDateString
Locale |
Formatted Date |
de-DE | 4.3.2020 |
en-US | 3/4/2020 |
en-GB | 04/03/2020 |
es-ES | 4/3/2020 |
es-CL | 04-03-2020 |
fr-FR | 04/03/2020 |
hi-IN | 4/3/2020 |
in-ID | 4/3/2020 |
ja-JP | 2020/3/4 |
ko-KR | 2020. 3. 4. |
pt-BR | 04/03/2020 |
pt-PT | 04/03/2020 |
ru-RU | 04.03.2020 |
Formatting the current time via toLocaleTimeString
Locale |
Formatted Time |
de-DE | 08:22:53 |
en-US | 8:22:53 AM |
en-GB | 08:22:53 |
es-ES | 8:22:53 |
es-CL | 8:22:53 a. m. |
fr-FR | 08:22:53 |
hi-IN | 8:22:53 am |
in-ID | 08.22.53 |
ja-JP | 8:22:53 |
ko-KR | 오전 8:22:53 |
pt-BR | 08:22:53 |
pt-PT | 08:22:53 |
ru-RU | 08:22:53 |
Formatting a large number
Locale |
Formatted Numbers |
de-DE | 300.000,03 |
en-US | 300,000.03 |
en-GB | 300,000.03 |
es-ES | 300.000,03 |
es-CL | 300.000,03 |
fr-FR | 300 000,03 |
hi-IN | 3,00,000.03 |
in-ID | 300.000,03 |
ja-JP | 300,000.03 |
ko-KR | 300,000.03 |
pt-BR | 300.000,03 |
pt-PT | 300 000,03 |
ru-RU | 300 000,03 |