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 | 20:49:41 |
en-US | 8:49:41 PM |
en-GB | 20:49:41 |
es-ES | 20:49:41 |
es-CL | 8:49:41 p. m. |
fr-FR | 20:49:41 |
hi-IN | 8:49:41 pm |
in-ID | 20.49.41 |
ja-JP | 20:49:41 |
ko-KR | 오후 8:49:41 |
pt-BR | 20:49:41 |
pt-PT | 20:49:41 |
ru-RU | 20:49:41 |
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 |