<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.calendar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.juliantojd.php',
    1 => 'juliantojd',
    2 => 'Converts a Julian Calendar date to Julian Day Count',
  ),
  'up' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'Функції Календаря',
  ),
  'prev' => 
  array (
    0 => 'function.jewishtojd.php',
    1 => 'jewishtojd',
  ),
  'next' => 
  array (
    0 => 'function.unixtojd.php',
    1 => 'unixtojd',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/calendar/functions/juliantojd.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.juliantojd" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">juliantojd</h1> 
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">juliantojd</span> &mdash; <span class="dc-title">Converts a Julian Calendar date to Julian Day Count</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.juliantojd-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>juliantojd</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$day</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   Valid Range for Julian Calendar 4713 B.C. to 9999 A.D.
  </p>
  <p class="para">
   Although this function can handle dates all the way back to 4713
   B.C., such use may not be meaningful. The calendar was created in
   46 B.C., but the details did not stabilize until at least 8 A.D.,
   and perhaps as late at the 4th century. Also, the beginning of a
   year varied from one culture to another - not all accepted
   January as the first month.
  </p>
  <div class="caution"><strong class="caution">Застереження</strong>
   <p class="para">
    Remember, the current calendar system being used worldwide is the
    Gregorian calendar.  <span class="function"><a href="function.gregoriantojd.php" class="function">gregoriantojd()</a></span> can be used to
    convert such dates to their Julian Day count.
   </p>
  </div>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.juliantojd-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">month</code></dt>
     <dd>
      <p class="para">
       The month as a number from 1 (for January) to 12 (for December)
      </p>
     </dd>
    
    
     <dt><code class="parameter">day</code></dt>
     <dd>
      <p class="para">
       The day as a number from 1 to 31
      </p>
     </dd>
    
    
     <dt><code class="parameter">year</code></dt>
     <dd>
      <p class="para">
       The year as a number between -4713 and 9999
      </p>
     </dd>
      
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.juliantojd-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   The julian day for the given julian date as an integer.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.juliantojd-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.jdtojulian.php" class="function" rel="rdfs-seeAlso">jdtojulian()</a> - Converts a Julian Day Count to a Julian Calendar Date</span></li> 
    <li><span class="function"><a href="function.cal-to-jd.php" class="function" rel="rdfs-seeAlso">cal_to_jd()</a> - Converts from a supported calendar to Julian Day Count</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>