Re: stftime differences on Windows/Linux platforms
| From: | Colin Guthrie | Date: | Tue, 06 Nov 2007 14:41:13 +0000 |
| Subject: | Re: stftime differences on Windows/Linux platforms | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264106@lists.php.net to get a copy of this message | ||
Neil Saunders wrote:
> Hi Robin,
>
> Thanks for your reply. The times are exactly synchronized. I'm looking
> at the date section in the output of phpinfo(), and get the following:
>
> Development:
> Default timezone Europe/London
> Production:
> Default timezone UTC
Could this be the problem? UTC = GMT +0, Europe/London = GMT in winter
and BST (GMT+1) in summer.. Could the date you are using flip over the
boundary and give you weird results? You are exactly 1 hour out afterall....
Try using a test date from January or February and I'll bet you don't
get those problems.....
Col.