change timestamp->date

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194951 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2005-09-02 16:39:25 +00:00
parent b475cd8b50
commit 5833c91f2c

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<refentry id="function.strptime">
<refnamediv>
<refname>strptime</refname>
@ -11,17 +11,18 @@
<title>Description</title>
<methodsynopsis>
<type>array</type><methodname>strptime</methodname>
<methodparam><type>string</type><parameter>timestamp</parameter></methodparam>
<methodparam><type>string</type><parameter>date</parameter></methodparam>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
</methodsynopsis>
<para>
<function>strptime</function> returns an array with the
<parameter>timestamp</parameter> parsed, or &false; on error.
<parameter>date</parameter> parsed, or &false; on error.
</para>
<para>
Month and weekday names and other language dependent strings respect the
current locale set with <function>setlocale</function> (LC_TIME).
</para>
</para>
&note.no-windows;
</refsect1>
<refsect1 role="parameters">
@ -29,10 +30,10 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>timestamp</parameter> (<type>string</type>)</term>
<term><parameter>date</parameter> (<type>string</type>)</term>
<listitem>
<para>
A timestamp (e.g. returned from <function>strftime</function>)
The string to parse (e.g. returned from <function>strftime</function>)
</para>
</listitem>
</varlistentry>
@ -161,7 +162,6 @@ Array
<member><function>strftime</function></member>
</simplelist>
</para>
&note.no-windows;
</refsect1>
</refentry>