Re: PHP4 and DST Changes
| From: | bedul | Date: | Tue, 13 Mar 2007 01:16:22 +0000 |
| Subject: | Re: PHP4 and DST Changes | ||
| References: | 1 | Groups: | php.db php.windows |
| Request: | Send a blank email to php-db+get-43261@lists.php.net to get a copy of this message | ||
to php-db.. this might related to database.
forgive me if this contain spam.
----- Original Message -----
From: "James Crow" <james@ultratans.com>
To: <php-windows@lists.php.net>
Sent: Tuesday, March 13, 2007 1:25 AM
Subject: [PHP-WIN] PHP4 and DST Changes
> I have tried searching, but so far have not found an answer.
>
> With the recent DST change I have some old PHP4 apps that work fine when
run
> under php4/linux. The same scripts have incorrect time when run under
> php4/windows. I ran a simple test under Windows and Linux:
>
> <?php
> print date('I');
> ?>
>
> Under windows it returns 0 (i.e. not running in DST). Under Linux it
returns
> 1. Is PHP4/Windows broken regarding the recent DST changes?
T Timezone setting of this machine Examples: EST, MDT ...
that's weird.. it should return EST or MDT.. actualy i never tried on my
pages, cmiiw.
i believe that's from php.ini configuration.