vrana           Fri Aug  6 16:05:24 2004 EDT

  Modified files:              
    /phpdoc/en/reference/datetime/functions     gmmktime.xml 
  Log:
  gmmktime uses mktime (bug #22635 again)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/gmmktime.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/datetime/functions/gmmktime.xml
diff -u phpdoc/en/reference/datetime/functions/gmmktime.xml:1.4 
phpdoc/en/reference/datetime/functions/gmmktime.xml:1.5
--- phpdoc/en/reference/datetime/functions/gmmktime.xml:1.4     Sat Dec 20 23:21:43 
2003
+++ phpdoc/en/reference/datetime/functions/gmmktime.xml Fri Aug  6 16:05:23 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
   <refentry id="function.gmmktime">
    <refnamediv>
@@ -26,6 +26,24 @@
      Like <function>mktime</function>, arguments may be left out in order 
      from right to left, with any omitted arguments being set to the
      current corresponding GMT value.
+    </para>
+    <para>
+     <note>
+      <simpara>
+       <function>gmmktime</function> internaly uses <function>mktime</function>
+       so only times valid in derived local time can be used.
+      </simpara>
+     </note>
+     <example>
+      <title><function>gmmktime</function> on Windows boundary</title>
+      <programlisting role="php">
+<![CDATA[
+<?php
+gmmktime(0, 0, 0, 1, 1, 1970); // valid in GMT and west, invalid in east
+?>
+]]>
+      </programlisting>
+     </example>
     </para>
    </refsect1>
   </refentry>

Reply via email to