Localization

suggest change

Syntax

timeZone is a DateTimeFormat option. NumberFormat ignores it. The table below lists DateTimeFormat fields, not number fields.

Parameters

Parameter Details
weekday “narrow”, “short”, “long”
era “narrow”, “short”, “long”
year “numeric”, “2-digit”
month “numeric”, “2-digit”, “narrow”, “short”, “long”
day “numeric”, “2-digit”
hour “numeric”, “2-digit”
minute “numeric”, “2-digit”
second “numeric”, “2-digit”
timeZoneName “short”, “long”

Number formatting

Currency formatting

Date and time formatting

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents