[Deprecated] DMZ 1.5.3 (DataMapper OverZealous Edition) |
[eluser]PoetaWD[/eluser]
[quote author="naren_nag" date="1246190022"]Hi, I love the auto-timestamping of the created and updated field. Now here's the problem: my server is in the US, my clients are in India. So the timestamps have an 11 hour lag. I could update time stamps on my own, but am I missing something? Is there a more elegant way to make this happen. cheers, Naren[/quote] You can change the timezone in apache in order to work... To change the time: Open your .htaccess file and add the following line: SetEnv TZ THE_LOCATION where THE_LOCATION is the specific timezone you want to define. A list of Supported Timezones can be found here: http://www.php.net/manual/en/timezones.php ![]() I am at brazil, so my .htaccess would be like this: Code: SetEnv TZ "America/Sao_Paulo" for India it would be like this: Code: SetEnv TZ "Asia/Calcutta" |
Welcome Guest, Not a member yet? Register Sign In |