Hijri Calendar

2.2.0 phpBB 3.2.0, 3.1.10
Sat Apr 29, 2017 7:35 pm
File size:
37.02 KiB
Validated for:
phpBB 3.2.0, 3.1.10
MD5 checksum:
This extension will allow you to view Hijri (Islamic) Calendar beside the Gregorian Calendar or instead of it , The extension will not Delete the Gregorian, It only make possible to view Hijri Calendar, You can continue using Gregorian Calendar with out any need to disable the extension.

To view Hijri Calendar you must change date format and add the below letter Symbols. Notice that we use the same letters of date() PHP function and only adding underscore(_) prefix to them.

The supported letters to view Hijri Calendar in dateformat are (notice that _ is part of symbol):
  • _j Day of the month without leading zeros
  • _d Day of the month, 2 digits with leading zeros
  • _z The day of the year (starting from 0)
  • _M A short textual representation of a month, such as 'Ram'
  • _F A full textual representation of a month, such as 'Ramadan'
  • _m Numeric representation of a month, with leading zeros
  • _n Numeric representation of a month, without leading zeros
  • _t Number of days in the given month
  • _L Whether it's a leap year, 1 if it is a leap year, 0 otherwise
  • _Y A full numeric representation of a year, 4 digits
  • _y A two digit representation of a year
You can change default datefomat from (Administration Control Panel=>General=>Board settings)
Every user can change his personal dateformat from User (Control Panel=>Board Preferences=>Edit Global Setting).

  • Easy Date Format for Hijri Calendar same of date() PHP function and adding (_) underscore prefix before the letter.
  • Compatible with all styles.
  • Compatible with all browsers.
  • Supports 2 algorithms to calculate the Hijri Calendar:
    • Um Al-Qura Algorithm from year 1318AH to 1500AH.
    • Tabular Algorithm.
  • Ability to Adjust the beginning of Hijri months to consensus the crescent sight.
  • Ready for 3.2.* and php 7.x.
Hijri4.png Hijri2.png Hijri3.png
  • Revisions
    phpBB Version(s)