<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'function.cal-to-jd.php',
    1 => 'cal_to_jd',
    2 => 'Konvertiert von einem unterst&uuml;tzten Kalenderformat in Julian-Format',
  ),
  'up' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'Calendar Funktionen',
  ),
  'prev' => 
  array (
    0 => 'function.cal-info.php',
    1 => 'cal_info',
  ),
  'next' => 
  array (
    0 => 'function.easter-date.php',
    1 => 'easter_date',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/calendar/functions/cal-to-jd.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.cal-to-jd" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">cal_to_jd</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">cal_to_jd</span> &mdash; <span class="dc-title">Konvertiert von einem unterstützten Kalenderformat in Julian-Format</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.cal-to-jd-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>cal_to_jd</strong></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$calendar</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$day</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span><br>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>cal_to_jd()</strong></span> errechnet den Julian-Tag für
   ein Datum in <code class="parameter">calendar</code>.
   Unterstützte <code class="parameter">calendar</code> sind
   <strong><code><a href="calendar.constants.php#constant.cal-gregorian">CAL_GREGORIAN</a></code></strong>,
   <strong><code><a href="calendar.constants.php#constant.cal-julian">CAL_JULIAN</a></code></strong>,
   <strong><code><a href="calendar.constants.php#constant.cal-jewish">CAL_JEWISH</a></code></strong> und
   <strong><code><a href="calendar.constants.php#constant.cal-french">CAL_FRENCH</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.cal-to-jd-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">calendar</code></dt>
     <dd>
      <p class="para">
       Der zu konvertierende Kalender, einer aus 
       <strong><code><a href="calendar.constants.php#constant.cal-gregorian">CAL_GREGORIAN</a></code></strong>,
       <strong><code><a href="calendar.constants.php#constant.cal-julian">CAL_JULIAN</a></code></strong>,
       <strong><code><a href="calendar.constants.php#constant.cal-jewish">CAL_JEWISH</a></code></strong> oder
       <strong><code><a href="calendar.constants.php#constant.cal-french">CAL_FRENCH</a></code></strong>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">month</code></dt>
     <dd>
      <p class="para">
       Der Monat als Nummer, die gültige Begrenzung ist
       abhängig von <code class="parameter">calendar</code>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">day</code></dt>
     <dd>
      <p class="para">
       Der Tag als Nummer, die gültige Begrenzung ist
       abhängig von <code class="parameter">calendar</code>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">year</code></dt>
     <dd>
      <p class="para">
       Jahr als Nummer, die gültige Begrenzung hängt ab
       von <code class="parameter">calendar</code>.
      </p>
     </dd>
      
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.cal-to-jd-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Die Julian Tag-Nummer
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.cal-to-jd-seealso">
  <h3 class="title">Siehe auch</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.cal-from-jd.php" class="function" rel="rdfs-seeAlso">cal_from_jd()</a> - Konvertiert von Julian Day Count zu einem unterst&uuml;tzten Kalender</span></li>
    <li><span class="function"><a href="function.frenchtojd.php" class="function" rel="rdfs-seeAlso">frenchtojd()</a> - Konvertiert ein Datum des Franz&ouml;sischen Revolutionskalenders zu einer
   julianischen Tageszahl</span></li> 
    <li><span class="function"><a href="function.gregoriantojd.php" class="function" rel="rdfs-seeAlso">gregoriantojd()</a> - Konvertierung vom Gregorianischen Kalender zum Julianischen Datum</span></li>  
    <li><span class="function"><a href="function.jewishtojd.php" class="function" rel="rdfs-seeAlso">jewishtojd()</a> - Konvertiert vom J&uuml;dischen Kalender zum Julianischen Datum</span></li>  
    <li><span class="function"><a href="function.juliantojd.php" class="function" rel="rdfs-seeAlso">juliantojd()</a> - Konvertierung vom Julianischen Kalender zum Julianischen Datum</span></li>  
    <li><span class="function"><a href="function.unixtojd.php" class="function" rel="rdfs-seeAlso">unixtojd()</a> - Konvertiert Unix-Timestamp in Julianisches Datum</span></li>
   </ul>
  </p>
 </div>

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