2014-03-29 216 views

回答

2

有了一些google搜索,我發現這個類:Source code here

的用法很簡單

include 'class.php'; 
$DateConv = new Hijri_GregorianConvert; 
$format="YYYY/MM/DD"; 
$date="1400/03/22"; // Arabic date here 
echo $DateConv->HijriToGregorian($date,$format); 
+0

什麼「class.php」應該在這裏做? – DonCallisto

+0

包括課堂?無論他會命名它? @DonCallisto – Ali

+0

什麼類?你爲什麼把這行代碼加入你的代碼? – DonCallisto

相關問題