'inline', 'scope' => 'footer' ) ); ?> 'inline', 'scope' => 'footer' ) ); ?> 'inline', 'scope' => 'footer' ) ); ?> 'inline', 'scope' => 'footer' ) ); ?>

type); ?>
width: 95% !important; width:99%; position: relative; left: 0.0%; width:101%; position: relative; left: 0.0%; " class="grey">
field_offset_to_apply[LANGUAGE_NONE][0]['value']; // echo $offset; class HijriCalendar { // define date adjustments below const DATE_ADJ = 0; function monthName($i) // $i = 1..12 { static $month = array( "Muharram", "Safar", "Rabi-Ul-Awwal", "Rabi-Uth-Thani", "Jamaad-Ul-Awwal", "Jamaad-Ul-Akhar", "Rajab", "Shabaan", "Ramadhan", "Shawal", "Zil-Qad", "Zil-Hajj" ); return $month[$i-1]; } function GregorianToHijri($time = null) { global $offset; // if($time === null) $time = time() + (self::DATE_ADJ * 24 * 3600); if($time === null) $time = time() + ($offset * 24 * 3600); $m = date('m', $time); $d = date('d', $time); $y = date('Y', $time); return HijriCalendar::JDToHijri( cal_to_jd(CAL_GREGORIAN, $m, $d, $y)); } function HijriToGregorian($m, $d, $y) { return jd_to_cal(CAL_GREGORIAN, HijriCalendar::HijriToJD($m, $d, $y)); } # Julian Day Count To Hijri function JDToHijri($jd) { $jd = $jd - 1948440 + 10632; $n = (int)(($jd - 1) / 10631); $jd = $jd - 10631 * $n + 354; $j = ((int)((10985 - $jd) / 5316)) * ((int)(50 * $jd / 17719)) + ((int)($jd / 5670)) * ((int)(43 * $jd / 15238)); $jd = $jd - ((int)((30 - $j) / 15)) * ((int)((17719 * $j) / 50)) - ((int)($j / 16)) * ((int)((15238 * $j) / 43)) + 29; $m = (int)(24 * $jd / 709); $d = $jd - (int)(709 * $m / 24); $y = 30*$n + $j - 30; return array($m, $d, $y); } # Hijri To Julian Day Count function HijriToJD($m, $d, $y) { return (int)((11 * $y + 3) / 30) + 354 * $y + 30 * $m - (int)(($m - 1) / 2) + $d + 1948440 - 385; } }; $hijri = HijriCalendar::GregorianToHijri( ); ?>

We Are Hiring!

Updated on 12 March 2018

The World Federation of KSIMC is looking for a full time In-House Drupel and PHP developer to join their team and take a lead on a variety of upcoming projects. The candidate should have a wide experience of CMS, especially Drupal and be proficient in PHP, MySQL, CSS, HTML and Javascript. 

Location: MCE Ofiices, Birmingham

Applicants are asked to send their CV and a short covering email to [email protected]

VIEW FULL JOB DECSRIPTION 


Related News


In the name of Allah (SWT), the Beneficent, the Merciful.
Most people in their lives are lucky enough to have gone to ziyaraat, whether it's to Iran or to Iraq, whether it's with a group or not.  But to enhance the experience,  to give you memories that you will look fondly back on years from now,  to have a quintessential, unforgettable journey - there is no better way, than to embark on this sacred trip.  

As of October 2015, over 705,000 refugees have fled to Europe on unseaworthy boats and dinghies across the Mediterranean Sea. More than 3,200 refugees have died or are missing. In response to this emergency, The World Federation and the Council of European Jamaats (CoEJ) partnered to provide humanitarian aid to the thousands of refugees arriving on the Greek island of Lesvos.


Ayatullah Ali Sistani, said through his representative, Abd al-Mehdi al-Karbalai, “We appeal to the relevant sides to work sincerely in breaking the siege”