downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/datetime.installation.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/datetime.setup.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'datetime.installation.php',
   
1 => 'Installation',
  ),
 
'up' =>
  array (
   
0 => 'datetime.setup.php',
   
1 => 'Installing/Configuring',
  ),
 
'prev' =>
  array (
   
0 => 'datetime.requirements.php',
   
1 => 'Requirements',
  ),
 
'next' =>
  array (
   
0 => 'datetime.configuration.php',
   
1 => 'Runtime Configuration',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="datetime.installation" class="section">
 <h2 class="title">Installation</h2>

 <p class="para">There is no installation needed to use these
functions; they are part of the PHP core.</p>

 <blockquote><p><b class="note">Note</b>:
  <b>Getting the latest timezone database</b><br />
 
   The latest version of the timezone database can be installed via PECL&#039;s
   <a href="http://pecl.php.net/get/timezonedb" class="link external">&raquo; timezonedb</a>.
  <br />
 </p></blockquote>

 <blockquote><p><b class="note">Note</b>:
  <b>Experimental DateTime support in PHP 5.1.x</b><br />
 
   Although the <a href="class.datetime.php" class="classname">DateTime</a> class (and related functions)
   are enabled by default since PHP 5.2.0, it is possible to add experimental
   support into PHP 5.1.x by using the following flag before configure/compile:
   <i>CFLAGS=-DEXPERIMENTAL_DATE_SUPPORT=1</i>
  <br />
 </p></blockquote>

</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites