You are here

function cmfcCalendarV1Arabic::islamic_to_jd in Calendar Systems 6

Same name and namespace in other branches
  1. 8 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()
  2. 8.2 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()
  3. 6.3 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()
  4. 7.3 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()
  5. 7 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()
  6. 7.2 calendar/v1/calendarSystems/arabic.class.inc.php \cmfcCalendarV1Arabic::islamic_to_jd()

* Islamic Calendar *

Parameters

Integer Year Hegri year: * Integer Month Hegri month * Integer Day Hegri day * @desc islamic_to_jd will convert given Hegri date (Islamic calendar) into Julian day * @author Khaled Al-Shamaa

Return value

Integer Julian day *

1 call to cmfcCalendarV1Arabic::islamic_to_jd()
cmfcCalendarV1Arabic::jd_to_islamic in calendar/v1/calendarSystems/arabic.class.inc.php
* Islamic Calendar *

File

calendar/v1/calendarSystems/arabic.class.inc.php, line 437

Class

cmfcCalendarV1Arabic

Code

function islamic_to_jd($year, $month, $day) {
  return $day + ceil(29.5 * ($month - 1)) + ($year - 1) * 354 + floor((3 + 11 * $year) / 30) + $this->_islamicEpoch - 1;
}