Tarikh
Formatting

Bangla Formatting

Show a date in the Bangla calendar, with spoken day forms and localized output when needed.

Start Here

Use Bangla formatting when the calendar itself matters, not just the display language.

Quick Rule

If the user should see Bangla calendar dates like ১৭ই চৈত্র ১৪৩২ বঙ্গাব্দ, start here.

If you need the raw date parts for logic or storage, see Bangla and Hijri Calendar.

What Changes

ChoiceResult
DefaultEnglish digits with Latin month names
locale: "bn-BD"Bangla digits, Bangla month names, and the বঙ্গাব্দ suffix
format: "spoken"Spoken day forms like পহেলা, দোসরা, তেসরা, and চৌঠা
variant: "poyla"Use the পয়লা spelling for day 1

Example

import { format, formatBanglaCalendarDay, toBanglaCalendar } from "@coreify/tarikh";

toBanglaCalendar("2026-03-31");
// -> { day: 17, month: "Chaitra", monthIndex: 12, year: 1432 }

format("2026-03-31", { mode: "bangla" });
// -> "17th Chaitra 1432"

format("2026-03-31", { mode: "bangla", locale: "bn-BD" });
// -> "১৭ই চৈত্র ১৪৩২ বঙ্গাব্দ"

format("2026-04-14", { mode: "bangla", locale: "bn-BD", format: "spoken" });
// -> "পহেলা বৈশাখ ১৪৩৩ বঙ্গাব্দ"

formatBanglaCalendarDay(1, { format: "spoken", variant: "poyla" });
// -> "পয়লা"

Good Fit

Use this for Bengali calendars, Bangla-language views, or places where the calendar itself matters more than the Gregorian date.

On this page