hijri-dates icon indicating copy to clipboard operation
hijri-dates copied to clipboard

PHP library to convert Gregorian date to Hijri date and vice versa

Results 6 hijri-dates issues
Sort by recently updated
recently updated
newest added

``` $date = Hijri::convertToGregorian(1, 16, 1401); // output is "1982-01-25" and it should be "1980-11-24" ``` According to this website that converts Hijri to Gregorian https://beseyat.com/calendars/en/date-converter-hijri-gregorian.php

Please check Sha'ban 1441 with this reference https://www.islamicfinder.org/islamic-calendar/?language=id the number of dates is different this year. in this package only 29 days. while this year the sha'ban are 30 days.

How to get the last day on the month of a Hijri date? Today English -2020-04-08 Today Hijri-15-8-1441 Last day of this Hijri month is 29-8-1441

[28-Jan-2019 11:22:22 UTC] PHP Fatal error: Uncaught Error: Class 'GeniusTS\HijriDate\Hijri' not found in /home/theeb/public_html/GeniusTS/HijriDate/try.php:7 Stack trace: #0 {main} thrown in /home/theeblawyers/public_html/GeniusTS/HijriDate/try.php on line 7

Hello, I tried to use this library but I found that there are no support for the Hijri Calendar "umm alqura". This is an example: $date_gregorian = \GeniusTS\HijriDate\Hijri::convertToGregorian(01, 04, 1440);...

Arabic Translations not work when convert from Hijri date to Gregorian Date. require __DIR__ . '/vendor/autoload.php'; use GeniusTS\HijriDate\Date; use GeniusTS\HijriDate\Translations\Arabic; \GeniusTS\HijriDate\Date::setTranslation(new Arabic); Date::setDefaultNumbers(Date::INDIAN_NUMBERS); //$date = \GeniusTS\HijriDate\Hijri::convertToGregorian(05,07,1390); only work with class...