<?xml version="1.0" encoding="utf-8"?>
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
<stylesheet type="text/css">
.body{font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
}
.p{margin:0.5em 0 0 0.3em; padding:0.2em; text-align:justify;
}
</stylesheet>
<description>
<title-info>
<genre>sf_history</genre>
<author>
<first-name>The author's name</first-name>
<last-name>The author's last name</last-name>
</author>
<book-title>Book name</book-title>
<annotation></annotation>
<date>Sana</date>
<lang>ru</lang>
</title-info>
<document-info>
<author><nickname></nickname>
</author>
<program-used>Lib converter jcms</program-used>
<date value=""></date>
<src-url>http://johncms.com</src-url>
<id></id>
<version>1.0</version>
<history><p>book</p></history>
</document-info>
</description>
<body>
<title><p>Saytinigz yoshi.</p>
</title>
<section><p>$year = 1945; //nechinchiyil ochganiz</p>
<p>$month = 12 ; //nechinchi oy</p>
<p>$days = 9 ; //va kuni</p>
<p>$seconds = time() - mktime( 0</p>
<p>, 0, 0, $month , $days, $year</p>
<p>);</p>
<p>$d = 60 *60 *24 *365.4 ;</p>
<p>$year = (int)( $seconds / $d );</p>
<p>$seconds = $seconds - $year *</p>
<p>$d ;</p>
<p>$d = 60 *60 *24 *30.4 ;</p>
<p>$month = (int)( $seconds /$d );</p>
<p>$seconds = $seconds - $month</p>
<p>*$d ;</p>
<p>$d = 60 *60 *24 ;</p>
<p>$day = (int)( $seconds /$d );</p>
<p>$week = (int)( $day / 7);</p>
<p>$day = $day - $week *7 ;</p>
<p>echo " $year л., $month м., $week н. и $day дн." ;</p>
</section>
</body>
</FictionBook>