note 46285 rejected from function.localtime by tomsommer
| From: | tomsommer@php.net | Date: | Wed, 06 Oct 2004 18:11:15 +0000 |
| Subject: | note 46285 rejected from function.localtime by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78083@lists.php.net to get a copy of this message | ||
Note Submitter: ski_sanjay at yahoo dot com
----
Does anybody came across this?
One of the parameters of array returned by the localtime is the daylight savings time. If you change
the system time and then execute a 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.