Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

[PHP4BETA] Timezone bug ? From: Allan Jacobsen (allan <email protected>)
Date: 04/30/00

Hi

We are developing an application that can be used by people
all over the world, and we are having trouble with timezones.
In php3 if you write:

putenv("TZ=EST");
echo strftime("%c");

you get the correct answer but this does not work in php4.
We have tried both beta5 end RC1 on redhat linux 6.1 and
debian 2.2.
The servers are placed in Denmark (CET timezone)

-- 
MVH / Best Regards
Allan Jacobsen, AJ17-DK
IT nyheder set gennem danske briller: http://slashit.dk

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>