timezone offset
Posted: Thu 20. Sep 2007, 14:43
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
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