[PHP-DOC] cvs: phpdoc-pl /reference/datetime/functions checkdate.xml From: Leszek Krupinski (leon <email protected>)
Date: 06/14/02

leszek Fri Jun 14 21:59:45 2002 EDT

  Added files:
    /phpdoc-pl/reference/datetime/functions checkdate.xml
  Log:
  [qrak] Datetime upload
  

Index: phpdoc-pl/reference/datetime/functions/checkdate.xml
+++ phpdoc-pl/reference/datetime/functions/checkdate.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.1 Maintainer: Qrak Status: ready -->
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
  <refentry id="function.checkdate">
   <refnamediv>
    <refname>checkdate</refname>
    <refpurpose>Waliduje datę gregoriańską</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Opis</title>
     <methodsynopsis>
      <type>bool</type><methodname>checkdate</methodname>
      <methodparam><type>int</type><parameter>miesiąc</parameter></methodparam>
      <methodparam><type>int</type><parameter>dzień</parameter></methodparam>
      <methodparam><type>int</type><parameter>rok</parameter></methodparam>
     </methodsynopsis>
    <para>
     Zwraca &true;, jeśli podana data jest prawdziwa lub &false; w przeciwnym
     przypadku. Sprawdza prawdziwość daty podanej jako argument. Prawdziwość
     daty badana jest za pomocą reguł:
     <itemizedlist>
      <listitem>
       <simpara>
        <parameter>rok</parameter> zawiera się pomiędzy 1 i 32767 włącznie
       </simpara>
      </listitem>
      <listitem>
       <simpara>
        <parameter>miesiąc</parameter> zawiera się pomiędzy 1 i 12 włącznie
       </simpara>
      </listitem>
      <listitem>
       <simpara>
        <parameter>dzień</parameter> zawiera się we właściwej dla danego
        miesiąca liczbie dni. Lata przestępne są brane pod uwagę.
       </simpara>
      </listitem>
     </itemizedlist>
    </para>
    <para>
     Patrz także <function>mktime</function> i <function>strtotime</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->