Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 1292

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Runtime Configuration</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="datetime.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="datetime.resources.html">Resource Types</a></div>
 <div class="up"><a href="datetime.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="datetime.configuration" class="section">
 <h2 class="title">Runtime Configuration</h2>
 <p class="simpara">
The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Date/Time Configuration Options</strong></caption>
   
    <thead>
     <tr>
      <th>Name</th>
      <th>Default</th>
      <th>Changeable</th>
      <th>Changelog</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td><a href="datetime.configuration.html#ini.date.default-latitude" class="link">date.default_latitude</a></td>
      <td>&quot;31.7667&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 5.0.0.</td>
     </tr>

     <tr>
      <td><a href="datetime.configuration.html#ini.date.default-longitude" class="link">date.default_longitude</a></td>
      <td>&quot;35.2333&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 5.0.0.</td>
     </tr>

     <tr>
      <td><a href="datetime.configuration.html#ini.date.sunrise-zenith" class="link">date.sunrise_zenith</a></td>
      <td>&quot;90.583333&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 5.0.0.</td>
     </tr>

     <tr>
      <td><a href="datetime.configuration.html#ini.date.sunset-zenith" class="link">date.sunset_zenith</a></td>
      <td>&quot;90.583333&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 5.0.0.</td>
     </tr>

     <tr>
      <td><a href="datetime.configuration.html#ini.date.timezone" class="link">date.timezone</a></td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_ALL</td>
      <td>Available since PHP 5.1.0.</td>
     </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>.
 </p>

 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>

 <p class="para">
  <dl>

   <dt id="ini.date.default-latitude">
    <span class="term">
     <em><code class="parameter">date.default_latitude</code></em>
     <span class="type"><a href="language.types.float.html" class="type float">float</a></span>
    </span>
    <dd>

     <p class="para">
      The default latitude.
     </p>
    </dd>

   </dt>


   <dt id="ini.date.default-longitude">
    <span class="term">
     <em><code class="parameter">date.default_longitude</code></em>
     <span class="type"><a href="language.types.float.html" class="type float">float</a></span>
    </span>
    <dd>

     <p class="para">
      The default longitude.
     </p>
    </dd>

   </dt>


   <dt id="ini.date.sunrise-zenith">
    <span class="term">
     <em><code class="parameter">date.sunrise_zenith</code></em>
     <span class="type"><a href="language.types.float.html" class="type float">float</a></span>
    </span>
    <dd>

     <p class="para">
      The default sunrise zenith.
     </p>
    </dd>

   </dt>


   <dt id="ini.date.sunset-zenith">
    <span class="term">
     <em><code class="parameter">date.sunset_zenith</code></em>
     <span class="type"><a href="language.types.float.html" class="type float">float</a></span>
    </span>
    <dd>

     <p class="para">
      The default sunset zenith.
     </p>
    </dd>

   </dt>


   <dt id="ini.date.timezone">
    <span class="term">
     <em><code class="parameter">date.timezone</code></em>
     <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
    </span>
    <dd>

     <p class="para">
      The default timezone used by all date/time functions. Prior to PHP 5.4.0,
      this would only work if the <var class="varname"><var class="varname">TZ</var></var> environment variable
      was not set. The precedence order for which timezone is used if none
      is explicitly mentioned is described in the
       <span class="function"><a href="function.date-default-timezone-get.html" class="function">date_default_timezone_get()</a></span> page. See <a href="timezones.html" class="xref">List of Supported Timezones</a> for a list of supported timezones.
     </p>
    </dd>

   </dt>

  </dl>

 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <span class="simpara">
   The first four configuration options are currently only used by
    <span class="function"><a href="function.date-sunrise.html" class="function">date_sunrise()</a></span> and  <span class="function"><a href="function.date-sunset.html" class="function">date_sunset()</a></span>.
  </span>
 </p></blockquote>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="datetime.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="datetime.resources.html">Resource Types</a></div>
 <div class="up"><a href="datetime.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>