<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.jddayofweek.php',
    1 => 'jddayofweek',
    2 => 'Retourne le num&eacute;ro du jour de la semaine',
  ),
  'up' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'Calendar Fonctions',
  ),
  'prev' => 
  array (
    0 => 'function.gregoriantojd.php',
    1 => 'gregoriantojd',
  ),
  'next' => 
  array (
    0 => 'function.jdmonthname.php',
    1 => 'jdmonthname',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/calendar/functions/jddayofweek.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.jddayofweek" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">jddayofweek</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">jddayofweek</span> &mdash; <span class="dc-title">Retourne le numéro du jour de la semaine</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.jddayofweek-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>jddayofweek</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$julian_day</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$mode</code><span class="initializer"> = <strong><code><a href="calendar.constants.php#constant.cal-dow-dayno">CAL_DOW_DAYNO</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span></div>

  <p class="para rdfs-comment">
   Retourne le numéro du jour de la semaine. Peut retourner une
   chaîne ou un entier, en fonction du mode.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.jddayofweek-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">julian_day</code></dt>
     <dd>
      <p class="para">
       Le numéro du jour Julien, sous la forme d&#039;un <a href="language.types.integer.php" class="link">entier</a>
      </p>
     </dd>
    
    
     <dt><code class="parameter">mode</code></dt>
     <dd>
      <table class="doctable table">
       <caption><strong>Modes pour la semaine du calendrier</strong></caption>
       
        <thead>
         <tr>
          <th>Mode</th>
          <th>Signification</th>
         </tr>

        </thead>

        <tbody class="tbody">
         <tr>
          <td>0 (défaut)</td>
          <td>
           Retourne le numéro du jour comme un entier (0=dimanche, 1=lundi, etc.)
          </td>
         </tr>

         <tr>
          <td>1</td>
          <td>
           Retourne une chaîne contenant le nom du jour (anglais grégorien)
          </td>
         </tr>

         <tr>
          <td>2</td>
          <td>
           Retourne une chaîne contenant le nom abrégé du jour de la semaine (anglais grégorien)
          </td>
         </tr>

        </tbody>
       
      </table>

     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.jddayofweek-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Le jour de la semaine Grégorien, sous la forme d&#039;un <a href="language.types.integer.php" class="link">entier</a> ou d&#039;une <a href="language.types.string.php" class="link">chaîne de caractères</a>.
  </p>
 </div>

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