cvs: phpdoc-hu /reference/datetime/functions checkdate.xml
| From: | Cece) Szabolcs | Date: | Thu, 29 Jul 2004 14:22:09 +0000 |
| Subject: | cvs: phpdoc-hu /reference/datetime/functions checkdate.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-689@lists.php.net to get a copy of this message | ||
cece Thu Jul 29 10:22:09 2004 EDT
Modified files:
/phpdoc-hu/reference/datetime/functions checkdate.xml
Log:
'sync'
http://cvs.php.net/diff.php/phpdoc-hu/reference/datetime/functions/checkdate.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-hu/reference/datetime/functions/checkdate.xml
diff -u phpdoc-hu/reference/datetime/functions/checkdate.xml:1.2
phpdoc-hu/reference/datetime/functions/checkdate.xml:1.3
--- phpdoc-hu/reference/datetime/functions/checkdate.xml:1.2 Wed Apr 17 02:57:55 2002
+++ phpdoc-hu/reference/datetime/functions/checkdate.xml Thu Jul 29 10:22:08 2004
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./hu/functions/datetime.xml, last change in rev 1.1 -->
<!-- last change to 'checkdate' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.2 Maintainer: kgergely Status: ready -->
+<!-- EN-Revision: 1.5 Maintainer: kgergely Status: ready -->
<!-- OLD-Revision: 1.69/EN.1.2 -->
<refentry id="function.checkdate">
<refnamediv>
@@ -38,6 +38,28 @@
</simpara>
</listitem>
</itemizedlist>
+ </para>
+ <para>
+ <example>
+ <title><function>checkdate</function> példa</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+var_dump(checkdate(12, 31, 2000));
+var_dump(checkdate(2, 29, 2001));
+?>
+]]>
+ </programlisting>
+ <para>
+ A fenti példaprogram a következõ kimenetet hozza létre:
+ </para>
+ <screen>
+<![CDATA[
+bool(true)
+bool(false)
+]]>
+ </screen>
+ </example>
</para>
<para>
Lásd még a <function>mktime</function> és a
<function>strtotime</function>