I have a customer who is set on a server where
the timezone has one hour offset.
Of course, the server time cannot be set on a per account basis.
But... was ondering if there's anychance such a function (below) could be
easily integrated in PhpWCMS, through the config file ....
If you are using time functions you will have to set the timezone offset in your scripts.
/////////////////////
For example in php
putenv('TZ=EST5EDT'); // eastern time
then all time functions will be in that time zone
/////////////////////
Cheers,
Yves
timezone offset
timezone offset
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Mhhh, I don´t know about the function, but in the 1.3.5 trunk there is a switch in conf.inc.php: $phpwcms['timezone_GMT'] = '+1';
Have a look into the dist.conf.inc.php not the setup.conf.inc.php!!
http://www.phpwcms.org/snapshot/
Knut
Have a look into the dist.conf.inc.php not the setup.conf.inc.php!!
http://www.phpwcms.org/snapshot/
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Thank you FlipFlop for pointing me to this switch.
I overlooked it. I just tested it on a local 1.3.5 trunk version, and...
no effect yet. Probably not finished yet.
Will have to wait hope and see ...
Thanks,
Yves
I overlooked it. I just tested it on a local 1.3.5 trunk version, and...
no effect yet. Probably not finished yet.
Will have to wait hope and see ...
Thanks,
Yves
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!