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 | 23:37:45 |
en-US | 11:37:45 PM |
en-GB | 23:37:45 |
es-ES | 23:37:45 |
es-CL | 11:37:45 p. m. |
fr-FR | 23:37:45 |
hi-IN | 11:37:45 pm |
in-ID | 23.37.45 |
ja-JP | 23:37:45 |
ko-KR | 오후 11:37:45 |
pt-BR | 23:37:45 |
pt-PT | 23:37:45 |
ru-RU | 23:37:45 |
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 |