PHP Classes


Recommend this page to a friend!
  Classes of Saeed Hubaishan   PHP Hijri Date Calendar   Download  
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Hijri Date Calendar
Convert and manipulate Hijri dates
Author: By
Last change: Update of
Date: 1 year ago
Size: 1,175 bytes


Class file image Download


php classes to view and manage Hijri Calendar.

the lib has two algorithms to calculte Hijri Date:

1-Hijri Tabular algorithm

2- Um Al-Qura algoritm

Lib Features

  1. Two algorithms to calculte Hijri Date: Hijri Tabular algorithm, Um Al-Qura algorithm.
  2. The lib allows you to adjust the Hijri Um Al-Qura algorithm and save the adjustment.
  3. The lib has a full feature class to manage the adjustments of Um Al-Qura Calendar.
  4. The Lib has a datetime class extends the real php datetime class, and allows you to return Hijri Calendar with the Gregorian Calendar in one format and one command.
  5. The Hijri datetime class have all real php class Gregorian Calendar Functions plus main functions for Hijri Calendar.
  6. The Lib returns the Hijri Calendar months in 20 international Languages.
  7. The Um Al-Qura algorithm works from 1318 A.H to 1500 A.H. and Tabular Algorithm work from year 5499 before Hijra to 1,500,000 A.H, If Um Al-Qura algorithm selected and the date out of range the uses Tabular Algorithm instead.
  8. The has full api documents.


The HijriDatLib requires at php version 5.3 at least. It is compatible up to php 8.1 .