ID: 30342 Updated by: [EMAIL PROTECTED] Reported By: ski_sanjay at yahoo dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: RH Linux 9.0 PHP Version: 4.3.9 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php That's how it works ... isn't a PHP issue either, merely an operating system one. Previous Comments: ------------------------------------------------------------------------ [2004-10-06 20:54:12] ski_sanjay at yahoo dot com Description: ------------ One of the parameters of array returned by the localtime is the daylight savings flag(tm_isdst). If you change the system time via shell command and then execute a PHP script which calls localtime() from the browser (not from shell, this is important), then you will find that localtime is returning wrong daylight savings flag. Unless one does a hard webserver restart localtime does not reflect the changes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30342&edit=1
