How to use the Hijri date widget
- Choose the language of the widget: Arabic, English, French or Spanish. The widget language does not have to match your website.
- Pick a theme: light, dark, or follow each visitor’s device setting.
- Choose a size and whether to show the Gregorian date under the Hijri date.
- If your community starts the month a day before or after the Umm al-Qura calendar, choose the day adjustment.
- Press Copy code and paste it into your page. The preview shows exactly what your visitors will see.
The code is a single iframe. It works in WordPress (Custom HTML block), Wix, Squarespace, Blogger and any page where you can add HTML.
What the widget shows
The widget shows today’s Hijri date, for example “26 Rabi al-Akhir 1448 AH”, with the weekday and Gregorian date if you keep that option. It is calculated in the visitor’s browser from their own clock, so visitors in different time zones each see their local date, and it updates on its own after midnight.
Privacy and attribution
The widget is designed to be safe to add to any site: no cookies, no storage, no analytics, no advertising and no request that carries anything about your visitors. It includes a small visible “Chronira” link to the Hijri date today page; please keep it, as it is what keeps the widget free.
Accuracy
Dates follow the Umm al-Qura calendar described on the methodology page. Islamic months that depend on moon sighting may start a day earlier or later in your country; the day adjustment handles that. To check any other date, use the Hijri date converter.