
- Date & Time formats
- Time Elapsed & Duration
- Price & Currencies
- Dev
date
MMM D, YYYY
e.g. Apr 1, 2019
dateCalendar
DDDD, MMM D
e.g. Monday, Apr 1
dateShort
MMM D
e.g. Apr 1
dateMonthDay
MMMM D
e.g. April 1
dateMonthYear
MMMM YYYY
e.g. April 2020
dateSlashed
M/D/YY
e.g. 9/28/2019


time 12h
h:mm A
e.g. 4:00 PM
time 24h
hh:mm
e.g. 16:00
timeShort 12h
h A
e.g. 4 PM
timeShort 24h
hh:00
e.g. 16:00

dateTime 12h
DDD, MMMM D, h:mm A
e.g. Wed, April 1, 4:00 PM
dateTime 24h
DDD, MMMM D, hh:mm
e.g. Wed, April 1, 16:00
dateTimeShort 12h
MMM D, h:mm A
e.g. Nov 1, 4:00 PM
dateTimeShort 24h
MMM D, hh:mm
e.g. Nov 1, 16:00
dateTimeFull 12h
MMM DD, YYYY h:mm:ss A
e.g. Sep 4, 1986 4:30 PM
dateTimeFull 24h
MMM DD, YYYY hh:mm:ss
e.g. Sep 4, 1986 16:30

timerHMS
HH:mm:ss
e.g. 04:30:54
timerMS
mm:ss
e.g. 30:54
timeZone
{timeZone} time (GMT {timeDifference})
e.g. New York time (GMT -05:00)


durationS
Full: 1 second, 5 seconds
Short: 1s, 5s
durationMin
Full: 1 minute, 5 minutes
Short: 1min, 5mins
durationHr
Full: 1 hour, 5 hours
Short: 1hr, 5hrs
durationM
Full: 1 minute, 5 minutes
Short: 1m, 5m
durationH
Full: 1 hour, 5 hours
Short: 1h, 5h
durationD
Full: 1 day, 5 days
Short: 1d, 5d
durationW
Full: 1 week, 5 weeks
Short: 1w, 5w
durationMo
Full: 1 month, 5 months
Short: 1mo, 5mo
durationYr
Full: 1 year, 5 years
Short: 1yr, 5yr
durationHM
Full: 1 hour 1 minute, 5 hours 5 minutes
Short: 1hr 1min, 5hrs 5mins
durationDH
Full: 1 day 1 hour, 5 days 5 hours
Short: 1d 1 hr, 5d 5hrs
durationDHM
Full: 1 day 1 hour 1 minute, 5 days 5 hours 5 minutes
Short: 1d 1hr 1min, 5d 5hrs 5mins
durationWD
Full: 1 week 1 day, 5 weeks 5 days
Short: 1w 1d, 5w 5d
durationHM
Full: 1 hour 1 minute, 5 hours 5 minutes
Short: 1hr 1min, 5hrs 5mins
durationDH
Full: 1 day 1 hour, 5 days 5 hours
Short: 1hr 1min, 5hrs 5mins
durationDHM
Full: 1 day 1 hour, 5 days 5 hours
Short: 1hr 1min, 5hrs 5mins
durationWD
Full: 1 day 1 hour, 5 days 5 hours
Short: 1hr 1min, 5hrs 5mins


Currency without decimals
USD $10,000
EUR €10,000
BRL R$10,000
ISK ISK 10,000
PLN PLN 10,000
VND ₫10,000
etc…

Intl library is part of wix-react-native-ui-lib and can be imported from it, there's no need to install it yourself.
import {Intl} from '@wix/wix-react-native-ui-lib';
<Text>
{Intl.Date(dateObject).date()}
</Text>
<Text>
{Intl.Date().dateCalendar()}
</Text>
Currency
- format(currency, options)
Intl.Currency(12005).format('ILS')
Date
- date
- dateShort
- dateMonthDay
- dateMonthYear
- dateCalendar
- dateCalendarShort
- dateCalendarFull
- dateHyphened
- dateMonthDayYear
- dateSegmented
- dateTime
- dateTime12h
- dateTime24h
- dateTimeShort
- dateTimeShort12h
- dateTimeShort24h
- dateTimeFull
- dateTimeFull12h
- dateTimeFull24h
- time
- time12h
- time24h
- hour
- hour12
- hour24
- fromNow
- day
- unix
- ampm
- dayOfMonth
- month
- week
- year
- dayOfYear
- firstDayOfWeek
- isValid
- seconds
- minutes
- hours
- add
- subtract
- diff
- isAfter
- isBefore
- isSame
- startOf
- endOf
- setHours
- setMinutes
- setSeconds
- setMilliseconds
Intl.Date(new Date()).dateTime()
Duration
- duration
- asDays
- asHours
- asMinutes
- hours
- minutes
- seconds
- format (durationS, durationMin, durationM, durationHr, durationH, durationD, durationW, durationMo, durationYr, durationHM, durationDH, durationDHM, durationWD)
Intl.Duration(86400000).asMinutes() // 1440
Intl.Duration({seconds: 50}, {full: false}).format().durationS() // 50s
Number
- format (13000 -> 13,000)
- ordinal
Intl.Number(13000).format()
Intl.Number(2).ordinal() // 2nd
Intl.Number(100).ordinal() // 100th
Time
- seconds
- minutes
- hours
- days
- weeks
- months
- years
- weekDay
- weekDayShort
- yearMonth
- yearMonthShort
Intl.Time(90).minutes()
Timezone
- format
- offset
Intl.Timezone('UTC').format()
Intl.Timezone('America/New_York').offset(new Date(2016, 1, 1))