cvs: phpdoc-zh /reference/datetime/functions localtime.xml strtotime.xml time.xml
| From: | Dallas Thunder | Date: | Sun, 22 Sep 2002 19:08:42 +0000 |
| Subject: | cvs: phpdoc-zh /reference/datetime/functions localtime.xml strtotime.xml time.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-630@lists.php.net to get a copy of this message | ||
dallas Sun Sep 22 15:08:42 2002 EDT
Added files:
/phpdoc-zh/reference/datetime/functions localtime.xml
Modified files:
/phpdoc-zh/reference/datetime/functions strtotime.xml time.xml
Log:
Patch
Index: phpdoc-zh/reference/datetime/functions/strtotime.xml
diff -u phpdoc-zh/reference/datetime/functions/strtotime.xml:1.1
phpdoc-zh/reference/datetime/functions/strtotime.xml:1.2
--- phpdoc-zh/reference/datetime/functions/strtotime.xml:1.1 Fri Sep 20 04:04:16 2002
+++ phpdoc-zh/reference/datetime/functions/strtotime.xml Sun Sep 22 15:08:42 2002
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.8 -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
<refentry id="function.strtotime">
<refnamediv>
<refname>strtotime</refname>
Index: phpdoc-zh/reference/datetime/functions/time.xml
diff -u phpdoc-zh/reference/datetime/functions/time.xml:1.1
phpdoc-zh/reference/datetime/functions/time.xml:1.2
--- phpdoc-zh/reference/datetime/functions/time.xml:1.1 Fri Sep 20 04:04:16 2002
+++ phpdoc-zh/reference/datetime/functions/time.xml Sun Sep 22 15:08:42 2002
@@ -1,6 +1,7 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
+<?xml version="1.0" encoding="gb2312"?>
+<!-- $Revision: 1.2 $ -->
+<!-- $Author: dallas $ -->
+<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
<refentry id="function.time">
<refnamediv>
<refname>time</refname>
Index: phpdoc-zh/reference/datetime/functions/localtime.xml
+++ phpdoc-zh/reference/datetime/functions/localtime.xml
<?xml version="1.0" encoding="gb2312"?>
<!-- $Revision: 1.1 $ -->
<!-- $Author: dallas $ -->
<!-- EN-Revision: 1.2 Maintainer: dallas Status: ready -->
<refentry id="function.localtime">
<refnamediv>
<refname>localtime</refname>
<refpurpose>È¡µÃ±¾µØÊ±¼ä</refpurpose>
</refnamediv>
<refsect1>
<title>˵Ã÷</title>
<methodsynopsis>
<type>array</type><methodname>localtime</methodname>
<methodparam choice="opt"><type>int</type><parameter>
timestamp
</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>
is_associative
</parameter></methodparam>
</methodsynopsis>
<para>
<function>localtime</function> º¯Êý·µ»ØÒ»¸öÊý×飬Æä½á¹¹ºÍ
C º¯Êýµ÷Ó÷µ»ØµÄÍêȫһÑù¡£<function>localtime</function>
µÄµÚÒ»¸ö²ÎÊýÊÇʱ¼ä´Á£¬Èç¹ûûÓиø³öÔòʹÓõ±Ç°Ê±¼ä¡£µÚ¶þ¸ö²ÎÊýÊÇ
<parameter>is_associative</parameter>£¬Èç¹ûÉèΪ 0
»òδÌṩÔò·µ»ØµÄÊÇÆÕͨµÄÊý×ÖË÷ÒýÊý×é¡£Èç¹û¸Ã²ÎÊýÉèΪ
1 Ôò
<function>localtime</function> º¯Êý·µ»Ø°üº¬ÓÐËùÓдÓ
C µÄ localtime
º¯Êýµ÷ÓÃËù·µ»ØµÄ²»Í¬µ¥ÔªµÄ½áºÏÊý×é¡£½áºÏÊý×éÖв»Í¬µÄ¼üÃûΪ£º
<itemizedlist>
<listitem>
<simpara>
"tm_sec" - ÃëÊý
</simpara>
</listitem>
<listitem>
<simpara>
"tm_min" - ·ÖÖÓÊý
</simpara>
</listitem>
<listitem>
<simpara>
"tm_hour" - Сʱ
</simpara>
</listitem>
<listitem>
<simpara>
"tm_mday" - Ô·ÝÖеĵڼ¸ÈÕ
</simpara>
</listitem>
<listitem>
<simpara>
"tm_mon" - Äê·ÝÖеĵڼ¸¸öÔ£¬´Ó 0 ¿ªÊ¼±íʾһÔÂ
</simpara>
</listitem>
<listitem>
<simpara>
"tm_year" - Äê·Ý£¬´Ó 1900 ¿ªÊ¼
</simpara>
</listitem>
<listitem>
<simpara>
"tm_wday" - ÐÇÆÚÖеĵڼ¸Ìì
</simpara>
</listitem>
<listitem>
<simpara>
"tm_yday" - Ò»ÄêÖеĵڼ¸Ìì
</simpara>
</listitem>
<listitem>
<simpara>
"tm_isdst" - ÏÄÁîʱµ±Ç°ÊÇ·ñÉúЧ
</simpara>
</listitem>
</itemizedlist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->