cvs: phpdoc /en/functions datetime.xml

From: Date: Fri, 07 Dec 2001 20:43:00 +0000
Subject: cvs: phpdoc /en/functions datetime.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969339536@lists.php.net to get a copy of this message
jimw Fri Dec 7 15:43:00 2001 EDT Modified files: /phpdoc/en/functions datetime.xml Log: fix checkdate prototype, add some see alsos, and s/english/English/ Index: phpdoc/en/functions/datetime.xml diff -u phpdoc/en/functions/datetime.xml:1.54 phpdoc/en/functions/datetime.xml:1.55 --- phpdoc/en/functions/datetime.xml:1.54 Wed Nov 21 18:21:30 2001 +++ phpdoc/en/functions/datetime.xml Fri Dec 7 15:43:00 2001 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.54 $ --> +<!-- $Revision: 1.55 $ --> <reference id="ref.datetime"> <title>Date and Time functions</title> <titleabbrev>Date/time</titleabbrev> @@ -13,7 +13,7 @@ <title>Description</title> <funcsynopsis> <funcprototype> - <funcdef>int <function>checkdate</function></funcdef> + <funcdef>bool <function>checkdate</function></funcdef> <paramdef>int <parameter>month</parameter></paramdef> <paramdef>int <parameter>day</parameter></paramdef> <paramdef>int <parameter>year</parameter></paramdef> @@ -43,6 +43,9 @@ </listitem> </itemizedlist> </para> + <para> + See also <function>mktime</function> and <function>strtotime</function>. + </para> </refsect1> </refentry> @@ -1093,7 +1096,7 @@ <refnamediv> <refname>strtotime</refname> <refpurpose> - Parse about any english textual datetime description into a UNIX + Parse about any English textual datetime description into a UNIX timestamp </refpurpose> </refnamediv> @@ -1109,7 +1112,7 @@ </funcprototype> </funcsynopsis> <para> - The function expects to be given a string containing an english + The function expects to be given a string containing an English date format and will try to parse that format into a UNIX timestamp. Upon failure, <literal>-1</literal> is returned. <example>

« previous php.doc (#969339536) next »