Examples
Interactive examples you can edit and run in the browser.
Time zones
A meeting across zones
Pick a meeting time tomorrow in your local zone and view that exact moment across cities around the world.
Try Set the start time to 23:00 to watch Tokyo and Kolkata cross into the next weekday.
Open right now
Check whether venues across time zones are open at any clock time, including overnight hours that cross midnight.
Try Pick
Asia/Tokyoin the preview bar and set the time to 01:00 to see the ramen bar stay open past midnight.
Durations
Countdown to a launch
Count down live to Friday at 5:00 PM and display the remaining duration in full, narrow, and digital styles.
Try Watch each second tick as
now().until(launch)recomputes the remaining span.Typed durations
Parse human duration phrases and ISO 8601 strings from a text input into words, total hours, and wire format.
Try Type
90 minutesto see it format in words, total1.5hours, and serialize toPT90M.
Calendars
Localization
Japanese eras, dates, and shifts
Format Japanese imperial eras with gannen on year one, unpadded kanji dates, and overnight shifts across midnight.
Try Click 平成最後の日 and 令和初日 to watch May 1, 2019 step from
平成31年4月30日to令和元年5月1日.Chinese calendars and day periods
Format Chinese Gregorian dates, pre-clock day periods, traditional lunar months, and Minguo era years from one input.
Try Click Lunar New Year to see February 17, 2026 format as
2026丙午年正月初一with正月for the first lunar month.Korean spacing and collapsed ranges
Format Korean dates with Hangul counter spacing, collapsed date ranges, and pre-clock day periods.
Try Click +35 days or type
35into the span input to watch6월appear on the end date once the range crosses into June.Arabic plurals, numerals, and Hijri dates
Format Arabic six-way plural durations, Eastern and Western numeral systems, regional month names, and Umm al-Qura Hijri dates.
Try Click 1, 2, 5, 11, and 100 to step through Arabic's singular, dual
يومان, plural, accusative, and hundredth noun forms.Russian month cases and plural counts
Format Russian stand-alone nominative months, genitive full dates, collapsed date ranges, and three-way plural durations.
Try Compare the first two rows to see
YearMonthprint nominativeмайwhile the full date inflects to genitive1 мая.Spanish connectors, casing, and day-first dates
Format Spanish dates, collapsed ranges, and month headings, and parse day-first slash strings without month-first mixups.
Try Set Days to 35 so the range crosses into June and repeats
de mayoandde junioon each side.Portuguese crasis, ranges, and day-first input
Format Brazilian Portuguese moments with hyphenated weekdays and
àscrasis before the hour, collapse date ranges, and read day-first input.Try Pick 2026-05-17 in Date to switch from hyphenated sexta-feira to single-word domingo while keeping
àsbefore the hour.French casing, ranges, and regional clocks
Format French dates without weekday commas, compare Paris and Québec 24-hour clock separators, and collapse multi-day spans.
Try Change Time to 14:45 to compare
14:45infragainst14 h 45infr-CA.German ordinal periods, spans, and calendar weeks
Format German dates with ordinal periods and capitalized nouns, collapse day spans, and compute ISO Kalenderwochen across year boundaries.
Try Click 2027-01-01 to see Friday, January 1 stay in
KW 53of the previous ISO week-year.