in reply to Re^2: Timezone antidote
in thread Timezone antidote
Sadly iīm in a shared hosting plan and canīt tell Mr Server to adjust his watch. And about the all-GMT solution, Iīm agraid it wonīt fit also, because one of the needs is to print out valid time for events the customers here in Brazil will see the logs, you know? Like, they canīt shop and them see messages and emails saying theyīve bought 4 hours ago in the next second.
Maybe I have to adjust the time by hand, adding 4 * 3600 seconds to my Perlīs $now variable every time I record a datetime. But I thought there were modules to act as a layer everytime I called localtime() and adjust the timezone, arenīt there?
UPDATE: As for mysql, how about the .my.cnf file. I donīt have one in my root, but canīt be a way to set up the user-specific timezone, like in this articleīs 4th user-contributed note? http://www.modwest.com/help/kb6-256.html
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Timezone antidote
by hatter (Pilgrim) on Sep 01, 2005 at 12:00 UTC | |
by Andre_br (Pilgrim) on Sep 06, 2005 at 17:11 UTC | |
by hatter (Pilgrim) on Oct 21, 2005 at 13:21 UTC | |
|
Re^4: Timezone antidote
by Tanktalus (Canon) on Sep 01, 2005 at 03:14 UTC |