[pmwiki-users] Time offset

Vince Administration vadmin at math.uconn.edu
Sun May 8 14:45:34 CDT 2011


Russell,
We use 
date_default_timezone_set('America/New_York');
A list of timezone identifiers is 
http://www.php.net/manual/en/timezones.america.php
at least for the US.  The php manual has the listing for all over the world.
 Vince

On May 8, 2011, at 3:33 PM, Randy Brown wrote:

> Russell,
> 
> I too have noticed that putenv doesn't work. You might have better luck with the following:
> 
> date_default_timezone_set('EST5EDT');
> 
> Randy
> 
> 
> On May 8, 2011, at 2:26 PM, R. D. Jones wrote:
> 
>> 
>> 
>> I've included the following lines in my config.php file, but they don't seem to matter (at least the putenv doesn't seem to matter;
> 
>> putenv("TZ=EST5EDT");
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20110508/f70d51a3/attachment.html>


More information about the pmwiki-users mailing list