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/book.calendar.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.calendar.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.calendar.php',
1 => 'Calendar',
),
'up' =>
array (
0 => 'refs.calendar.php',
1 => 'Date and Time Related Extensions',
),
'prev' =>
array (
0 => 'refs.calendar.php',
1 => 'Date and Time Related Extensions',
),
'next' =>
array (
0 => 'intro.calendar.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Calendar</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.calendar.php">Introduction</a></li><li><a href="calendar.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="calendar.requirements.php">Requirements</a></li><li><a href="calendar.installation.php">Installation</a></li><li><a href="calendar.configuration.php">Runtime Configuration</a></li><li><a href="calendar.resources.php">Resource Types</a></li></ul></li><li><a href="calendar.constants.php">Predefined Constants</a></li><li><a href="ref.calendar.php">Calendar Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.cal-days-in-month.php">cal_days_in_month</a> — Return the number of days in a month for a given year and calendar</li><li><a href="function.cal-from-jd.php">cal_from_jd</a> — Converts from Julian Day Count to a supported calendar</li><li><a href="function.cal-info.php">cal_info</a> — Returns information about a particular calendar</li><li><a href="function.cal-to-jd.php">cal_to_jd</a> — Converts from a supported calendar to Julian Day Count</li><li><a href="function.easter-date.php">easter_date</a> — Get Unix timestamp for midnight on Easter of a given year</li><li><a href="function.easter-days.php">easter_days</a> — Get number of days after March 21 on which Easter falls for a given year</li><li><a href="function.frenchtojd.php">FrenchToJD</a> — Converts a date from the French Republican Calendar to a Julian Day Count</li><li><a href="function.gregoriantojd.php">GregorianToJD</a> — Converts a Gregorian date to Julian Day Count</li><li><a href="function.jddayofweek.php">JDDayOfWeek</a> — Returns the day of the week</li><li><a href="function.jdmonthname.php">JDMonthName</a> — Returns a month name</li><li><a href="function.jdtofrench.php">JDToFrench</a> — Converts a Julian Day Count to the French Republican Calendar</li><li><a href="function.jdtogregorian.php">JDToGregorian</a> — Converts Julian Day Count to Gregorian date</li><li><a href="function.jdtojewish.php">jdtojewish</a> — Converts a Julian day count to a Jewish calendar date</li><li><a href="function.jdtojulian.php">JDToJulian</a> — Converts a Julian Day Count to a Julian Calendar Date</li><li><a href="function.jdtounix.php">jdtounix</a> — Convert Julian Day to Unix timestamp</li><li><a href="function.jewishtojd.php">JewishToJD</a> — Converts a date in the Jewish Calendar to Julian Day Count</li><li><a href="function.juliantojd.php">JulianToJD</a> — Converts a Julian Calendar date to Julian Day Count</li><li><a href="function.unixtojd.php">unixtojd</a> — Convert Unix timestamp to Julian Day</li></ul></li></ul></div><?php manual_footer(); ?>