Plugins

Hijri Calendar

On this page

The Hijri Calendar plugin gives your site a month calendar in Hijri and Gregorian side by side, today's date in both, a converter that works both ways, and the important days of the Islamic year with how many days are left until each.

It is a free plugin and comes with Quran CMS.

Who it is for

Every Islamic website. People look up the Hijri date when a fast, a white day, Shab-e-Barat or Eid is near, and they look up a Gregorian date when a family event was recorded in the Hijri calendar. One page answers both.

Switching it on

Admin → Plugins, turn Hijri Calendar on. The page is at /hijri-calendar and is listed on the Islamic tools page (/tools).

What the visitor sees

Today

Two boxes at the top: Today in the Hijri calendar (for example 4 Jumada al-Ula 1448 AH) and the Gregorian date. On Bengali pages the month names and digits are in Bengali, and a third box gives the date in the Bangla calendar (for example ৩০ আশ্বিন ১৪৩৩ বঙ্গাব্দ).

The month

The calendar opens on the current Hijri month, with the Gregorian dates of the month under its name. Each day shows its Hijri number with the Gregorian date beside it. The arrows move a month back or forward and Today comes back.

Hijri month / Gregorian month switches the grid between a Hijri month (1 to 29 or 30) and a Gregorian month (1 to 31) — the other calendar is always shown in small type in each cell.

Marks in the grid:

  • Today has a frame.
  • Special day — a day from the list below — has a dot.
  • White days (13–15) — the three Sunnah fasts of every Hijri month — are marked.
  • Friday is set apart.

The week starts on the day you choose in the settings (Saturday by default, as is usual in Bangladesh).

Important days

A list of the days of the coming Hijri year, each with its Hijri date, its Gregorian date and in N days (or tomorrow, or passed):

DayHijri date
Islamic New Year1 Muharram
Ashura10 Muharram — with the note that fasting it (with the 9th) is Sunnah (Muslim 1162, 1134)
Seerat-un-Nabi ﷺ12 Rabi‘ al-Awwal — a public holiday in Bangladesh
Shab-e-Mi‘raj27 Rajab
Shab-e-Barat (mid-Sha‘ban)15 Sha‘ban — the night before
Ramadan begins1 Ramadan
Laylat al-Qadr (27th night)27 Ramadan — seek it in the odd nights of the last ten (Bukhari 2017)
Eid al-Fitr1 Shawwal
Hajj begins8 Dhu al-Hijjah
Day of ‘Arafah9 Dhu al-Hijjah — fasting it expiates two years (Muslim 1162)
Eid al-Adha10 Dhu al-Hijjah

Date converter

  • Gregorian → Hijri: pick a date and the Hijri date appears.
  • Hijri → Gregorian: enter the day, choose the month and type the year.

Under it the page says that the dates follow the Umm al-Qura calendar with your site's adjustment for local moon sighting, and that actual dates may differ by a day.

The Hijri adjustment

Moon sighting decides the Islamic months, and in Bangladesh the month often begins a day after Saudi Arabia. The whole site — the top bar, the prayer times, the mosque screen and this calendar — follows one setting:

Admin → Settings → Prayer times → Hijri date adjustment (days), from −3 to +3. Bangladesh is often −1.

When the moon is sighted a day earlier or later than expected, change it there and every Hijri date on the site moves with it.

Settings

Admin → Plugins → Hijri Calendar → Settings:

SettingWhat it does
Week starts onSaturday, Sunday or Monday
Page addresshijri-calendar by default

The Islamic days plugin (/islamic-days) shows the same kind of days as cards with a countdown, and can put them on the home page; see Plugins and themes. The prayer-times banner of Social Auto Post carries the Hijri date as well.

Tips

  • Check the adjustment at the start of every Hijri month, especially Ramadan, Shawwal and Dhu al-Hijjah, when visitors pay the most attention to the date.
  • The page title carries the current year (Hijri calendar 1448 AH), which helps search engines show it to people searching for this year's calendar.
← Back to Quran CMS All chapters Updated 15 October 2026
Chat with Faruk
Faruk's Assistant Online — AI Powered