ID: 39137 Updated by: [EMAIL PROTECTED] Reported By: g1list_1a at marsdome dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-10-12 14:10:54] g1list_1a at marsdome dot com Description: ------------ The documentation for the date() function says "using the given integer timestamp or the current local time if no timestamp is given." But in fact, it's not the current local time being passed in, since timestamps are always UTC regardless of your location or timezone. The documentation for the time() function gets this correct, since it never uses the word "local." What it should say is "...using the given integer timestamp or the current local time if no timestamp is given. The output is formatted based on the current default time zone." It would also help if Example 1 changed the default time zone, so that the different results could be shown for the same input. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39137&edit=1