mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix checkdate prototype, add some see alsos, and s/english/English/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64245 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9e35fce1b4
commit
cc64ab471b
1 changed files with 7 additions and 4 deletions
|
@ -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 @@ print (strftime ("%A.\n"));
|
|||
<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 @@ print (strftime ("%A.\n"));
|
|||
</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>
|
||||
|
|
Loading…
Reference in a new issue