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's
<a href="http://pecl.php.net/get/timezonedb" class="link external">» 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(); ?>