Skip to content

SwissDate

Display calendar dates and format timestamps in the Zurich time zone.

alpina-ui/swiss/swiss-date

Interactive preview

Production schedule

Studio delivery

Calendar date

Calendar date

Usage notes

Pass a civil date for a specific calendar day. The time element keeps its machine-readable value and isolates the localized date in bidirectional text.

When to use

Show a filing deadline or an issue date in the reader’s Swiss locale while retaining its machine-readable value.

When to avoid

Use DatePicker for choosing a date and a time formatter for an appointment time.

Accessibility

Pass an unambiguous date or instant to the time element. For a deadline, include its meaning in nearby text so the date has context.

Keys
KeyAction
—Read in document order. The component has no keyboard command of its own.

Content

Use a short date-role label. Prefer a written month in correspondence where two numeric date conventions might collide.

Use
Issued on 12 March 2027
Avoid
03/12/27

Copy in four languages

German
Ausstellungsdatum17 characters
French
Date d’émission15 characters
Italian
Data di emissione17 characters
Romansh
Data d’emissiun15 characters
Add to your project
npx --no-install alpina add swiss-date