From fa43768c44916bc4328ba9e57be13779d4d416fa Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Tue, 11 Mar 2003 22:38:16 +0000 Subject: [PATCH] Adding note with reference to bug #22620 (and the related #22457 and #14931) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@119892 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/gmdate.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/reference/datetime/functions/gmdate.xml b/reference/datetime/functions/gmdate.xml index d23e822f29..60adecccef 100644 --- a/reference/datetime/functions/gmdate.xml +++ b/reference/datetime/functions/gmdate.xml @@ -1,5 +1,5 @@ - + @@ -28,6 +28,26 @@ echo gmdate ("M d Y H:i:s", mktime (0,0,0,1,1,1998)); + + + In the Microsoft Windows series of Operating Systems the system + libraries implementing this function are broken, so + gmdate does not support negative values + for the timestamp. + For details see bug reports: + #22620, + #22457, + and #14391. + + + This problem does not occur in Unix/Linux Operating Systems, were the system + libraries behave as expected. + + + PHP cannot fix broken system libraries. Contact + your OS vendor for a fix to this a similar problems. + + See also date, mktime, gmmktime and strftime.