Closed sehsah closed 6 years ago
Use explode
function before call the convertToGregorian
function
when i use this format $newdate = \GeniusTS\HijriDate\Hijri::convertToGregorian(2 - 11 - 1439);
Type error: Argument 2 passed to GeniusTS\HijriDate\Hijri::convertToGregorian() must be of the type integer, none given, called in
it should be like the following
$newdate = \GeniusTS\HijriDate\Hijri::convertToGregorian(2, 11, 1439);
ok thank u
you are welcome
$date1 = 11; $date1 = 2; $date1 = 1439;
$newdate = \GeniusTS\HijriDate\Hijri::convertToGregorian($date1 , $date2 , $date3);
also Error 👎
ok it's worked ;)
you don't have $date2
and $date3
variables in your code :)
hi , how can convertToGregorian by formate 1439-05-05 like convertToHijri