mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
gmmktime uses mktime (bug #22635 again)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165558 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d5c3972e13
commit
01db480ca7
1 changed files with 19 additions and 1 deletions
|
@ -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>
|
||||
|
@ -27,6 +27,24 @@
|
|||
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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue