Re: PHP4 and DST Changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



to php-db.. this might related to database.
forgive me if this contain spam.
----- Original Message -----
From: "James Crow" <james@xxxxxxxxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Sent: Tuesday, March 13, 2007 1:25 AM
Subject:  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.

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux