KodeKarsa UI

Indonesia

Indonesian Date

A date written the Indonesian way, Selasa, 17 November 2026, with the Hijri date and the weton when asked. Computed in UTC, so server and browser print the same day.

src/components/ui/indonesian-date.tsxNo ui-sdk

Three forms

Memuat

Import

tsx
import { IndonesianDate } from "@/components/ui/indonesian-date";

Guidelines

  • Write the month name, not 17/11/2026: day and month order is easy to mix up.