mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Minor corrections.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@22226 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
95efd40ad1
commit
754d3d1889
1 changed files with 10 additions and 7 deletions
|
@ -756,7 +756,8 @@ print (strftime ("%A.\n"));
|
|||
<refnamediv>
|
||||
<refname>strtotime</refname>
|
||||
<refpurpose>
|
||||
Parse about any english textual datetime description into a UNIX timestamp
|
||||
Parse about any english textual datetime description into a UNIX
|
||||
timestamp
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -764,16 +765,18 @@ print (strftime ("%A.\n"));
|
|||
<funcsynopsis>
|
||||
<funcdef>int <function>strtotime</function></funcdef>
|
||||
<paramdef>string <parameter>time</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>now</optional></parameter></paramdef>
|
||||
<paramdef>int
|
||||
<parameter><optional>now</optional></parameter>
|
||||
</paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The function exspects to be given a string containing an
|
||||
english date format and will try to parse that format into
|
||||
a UNIX timestamp.
|
||||
The function expects to be given a string containing an english
|
||||
date format and will try to parse that format into a UNIX
|
||||
timestamp.
|
||||
<example>
|
||||
<title><function>strtotime</function> example</title>
|
||||
<title><function>Strtotime</function> example</title>
|
||||
<programlisting role="php">
|
||||
echo strtotime("10 march 2000")."\n";
|
||||
echo strtotime ("10 march 2000") . "\n";
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue