Tarikh
Formatting

Standard Formatting

Show a normal Gregorian date with optional locale, weekday, and time details.

Start Here

Use standard formatting when you want a Gregorian date label with a small surface area.

Quick Rule

If you want a familiar article date, event card date, or dashboard timestamp, start here.

If you need the Bangla calendar itself, go to Bangla Formatting.

Common Choices

What you wantUse
A short English datemode: "standard"
A Bangla-localized date labelmode: "standard", locale: "bn-BD"
More date contextAdd weekday, hour, minute, or second

Example

import { format } from "@coreify/tarikh";

format("2026-03-31", { mode: "standard" });
// -> "31st Mar 2026"

format("2026-03-31", { mode: "standard", locale: "bn-BD" });
// -> "৩১শে মার্চ ২০২৬ খ্রিস্টাব্দ"

Good Fit

This is the right choice for dashboards, articles, event cards, and anything that should still look like a regular date.

On this page