mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@119892 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b1335ec841
commit
fa43768c44
1 changed files with 21 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/datetime.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.gmdate">
|
||||
<refnamediv>
|
||||
|
@ -28,6 +28,26 @@ echo gmdate ("M d Y H:i:s", mktime (0,0,0,1,1,1998));
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
In the Microsoft Windows series of Operating Systems the system
|
||||
libraries implementing this function are broken, so
|
||||
<function>gmdate</function> does not support negative values
|
||||
for the <parameter>timestamp</parameter>.
|
||||
For details see bug reports:
|
||||
<ulink url="http://bugs.php.net/bug.php?id=22620">#22620</ulink>,
|
||||
<ulink url="http://bugs.php.net/bug.php?id=22620">#22457</ulink>,
|
||||
and <ulink url="http://bugs.php.net/bug.php?id=22620">#14391</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
This problem does not occur in Unix/Linux Operating Systems, were the system
|
||||
libraries behave as expected.
|
||||
</para>
|
||||
<para>
|
||||
PHP cannot fix broken system libraries. Contact
|
||||
your OS vendor for a fix to this a similar problems.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>date</function>, <function>mktime</function>,
|
||||
<function>gmmktime</function> and <function>strftime</function>.
|
||||
|
|
Loading…
Reference in a new issue