الصفحة الرئيسية
المزايا
المشروع
روابط مفيدة
تنزيل
الأسئلة الشائعة
النسخة القديمة
See also: Date

Related Class Documentation

<?php
date_default_timezone_set
('UTC');

require(
'I18N/Arabic.php');
$Ar = new I18N_Arabic('Mktime');

$fix $Ar->mktimeCorrection(91429);
$time $Ar->mktime(0,0,0,9,1,1429$fix);

echo 
"<p>Calculated first day of Ramadan 1429 
      unix timestamp is: 
$time</p>";

$Gregorian date('l F j, Y',$time);

echo 
"<p>Which is $Gregorian in 
      Gregorian calendar</p>"
;

$days $Ar->hijriMonthDays(91429);
echo 
"That Ramadan has $days days in total";
?>


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
The solution to a problem changes the problem.
حل المشكلة يغير طبيعة المشكلة
Index | Features | ArPHP Project | Useful Links | Download | PHP4!!!

Copyright © 2006 - 2021 Khaled Al-Sham'aa. All Rights Reserved | Sourceforge.net | GitHub.com | Terms Of Use

 

  If not now when? If not you and me who else? | إن لم يكن الآن فمتى؟ إن لم تكن أنت وأنا فمن غيرنا؟