Example Output:

Calculated first day of Ramadan 1429 unix timestamp is: 1220227200
Which is Monday September 1, 2008 in Gregorian calendar
That Ramadan has 30 days in total

Example Code:


$Arabic = new I18N_Arabic('Mktime');

$correction $Arabic->mktimeCorrection(91429);
$time $Arabic->mktime(000911429$correction);    
"Calculated first day of Ramadan 1429 unix timestamp is: $time<br>";
$Gregorian date('l F j, Y'$time);
"Which is $Gregorian in Gregorian calendar";

$days $Arabic->hijriMonthDays(91429);
"That Ramadan has $days days in total";

Total execution time is 0.0051350593566895 seconds
Amount of memory allocated to this script is 365552 bytes

Names of included or required files:

Related Class Documentation