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 | 15:34:56 |
en-US | 3:34:56 PM |
en-GB | 15:34:56 |
es-ES | 15:34:56 |
es-CL | 3:34:56 p. m. |
fr-FR | 15:34:56 |
hi-IN | 3:34:56 pm |
in-ID | 15.34.56 |
ja-JP | 15:34:56 |
ko-KR | 오후 3:34:56 |
pt-BR | 15:34:56 |
pt-PT | 15:34:56 |
ru-RU | 15:34:56 |
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 |