cvs: phpdoc-hu /reference/datetime/functions gmmktime.xml mktime.xml

From: Date: Fri, 06 Aug 2004 22:39:00 +0000
Subject: cvs: phpdoc-hu /reference/datetime/functions gmmktime.xml mktime.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-924@lists.php.net to get a copy of this message
bagilevi Fri Aug 6 18:39:00 2004 EDT Modified files: /phpdoc-hu/reference/datetime/functions mktime.xml gmmktime.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/datetime/functions/mktime.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-hu/reference/datetime/functions/mktime.xml diff -u phpdoc-hu/reference/datetime/functions/mktime.xml:1.3 phpdoc-hu/reference/datetime/functions/mktime.xml:1.4 --- phpdoc-hu/reference/datetime/functions/mktime.xml:1.3 Thu Aug 5 15:15:54 2004 +++ phpdoc-hu/reference/datetime/functions/mktime.xml Fri Aug 6 18:39:00 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/datetime.xml, last change in rev 1.1 --> <!-- last change to 'mktime' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.8 Maintainer: kgergely Status: ready --> +<!-- EN-Revision: 1.11 Maintainer: kgergely Status: ready --> <!-- OLD-Revision: 1.69/EN.1.2 --> <refentry id="function.mktime"> <refnamediv> @@ -42,7 +42,16 @@ <note> <para> Az <parameter>Is_dst</parameter> paraméter a 3.0.10.-es verzióban került a nyelvbe. - </para> + </para> + <para> + Egyes idõpontok érvényelenek abban az esetben, ha a DST + be van állítva. Ha a DST 2:00-kor kerül beállításra, minden + 2:00 és 3:00 közti idõ érvénytelen, ezért az <function>mktime</function> + függvény határozatlan (általában negatív) értéket ad vissza. + Egyes operációs rendszerek (például Solaris 8) a DST-t éjfélkor + kapcsolják be, ezért a 0:30 idõpont az elõzõ napi 23:30-nak számít, + ha a DST be van kapcsolva. + </para> </note> <para> A <function>mktime</function> függvény hasznos a dátumokkal való manipulálás, http://cvs.php.net/diff.php/phpdoc-hu/reference/datetime/functions/gmmktime.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-hu/reference/datetime/functions/gmmktime.xml diff -u phpdoc-hu/reference/datetime/functions/gmmktime.xml:1.3 phpdoc-hu/reference/datetime/functions/gmmktime.xml:1.4 --- phpdoc-hu/reference/datetime/functions/gmmktime.xml:1.3 Thu Aug 5 14:42:24 2004 +++ phpdoc-hu/reference/datetime/functions/gmmktime.xml Fri Aug 6 18:39:00 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- splitted from ./hu/functions/datetime.xml, last change in rev 1.1 --> <!-- last change to 'gmmktime' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.4 Maintainer: kgergely Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: kgergely Status: ready --> <!-- OLD-Revision: 1.69/EN.1.2 --> <refentry id="function.gmmktime"> <refnamediv> @@ -23,6 +23,29 @@ <para> Azonos a <function>mktime</function> függvénnyel, kivéve, hogy az átadott paraméterek GMT idõpontként értelmezettek. + </para> + <para> + A paraméterek mindig GMT dátumot kell jelöljenek, ezért az + <parameter>is_dst</parameter> paraméter nem befolyásolja az eredményt. + </para> + <para> + <note> + <simpara> + A <function>gmmktime</function> az <function>mktime</function> + függvényt használja, ezért csak a származtatott helyi idõ szerint + érvényes idõpontok használhatóak. + </simpara> + </note> + <example> + <title>A <function>gmmktime</function> Windows-os megszorítás esetén</title> + <programlisting role="php"> +<![CDATA[ +<?php +gmmktime(0, 0, 0, 1, 1, 1970); // érvényes GMT-ben és nyugaton, de keleten érvénytelen +?> +]]> + </programlisting> + </example> </para> <para> Hasonlóan a <function>mktime</function> függvényhez, az argumentumok

« previous php.doc.hu (#924) next »