downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | 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 Git repository for this website on git.php.net.

Source of: /manual/fa/intro.calendar.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.calendar.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'fa',
  ),
 
'this' =>
  array (
   
0 => 'intro.calendar.php',
   
1 => 'Introduction',
  ),
 
'up' =>
  array (
   
0 => 'book.calendar.php',
   
1 => 'Calendar',
  ),
 
'prev' =>
  array (
   
0 => 'book.calendar.php',
   
1 => 'Calendar',
  ),
 
'next' =>
  array (
   
0 => 'calendar.setup.php',
   
1 => 'Installing/Configuring',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="intro.calendar" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   The calendar extension presents a series of functions to simplify
   converting between different calendar formats.  The intermediary or
   standard it is based on is the Julian Day Count.  The Julian Day Count is
   a count of days starting from January 1st, 4713 B.C.  To convert between
   calendar systems, you must first convert to Julian Day Count, then to the
   calendar system of your choice.  Julian Day Count is very different from
   the Julian Calendar! For more information on Julian Day Count, visit
   <a href="http://www.hermetic.ch/cal_stud/jdn.htm" class="link external">&raquo; http://www.hermetic.ch/cal_stud/jdn.htm</a>. For more
   information on calendar systems visit <a href="http://www.fourmilab.ch/documents/calendar/" class="link external">&raquo; http://www.fourmilab.ch/documents/calendar/</a>.  Excerpts from this page are
   included in these instructions, and are in quotes.
  </p>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites