View Full Version : Wrong Date and Time
I just installed dotproject and am getting wrong date for "Today" (it is tommorow's date). I looked at the time shifting query posted earlier, and just want to confirm that the date is being picked by where the server is located? Is there a fix to this issue? thanks.
okay..i contacted my hosting provider support and they gave me the following suggestion:
There is a solution to the timezone problem. Just create a .htaccess file in your /www/www directory (where dotproject is installed), and place the following line in it:
SetEnv TZ :US/Eastern
This will change the timezone to US Eastern time for all your scripts in your domain.
It worked for me!
okay..i contacted my hosting provider support and they gave me the following suggestion:
There is a solution to the timezone problem. Just create a .htaccess file in your /www/www directory (where dotproject is installed), and place the following line in it:
SetEnv TZ :US/Eastern
This will change the timezone to US Eastern time for all your scripts in your domain.
It worked for me!
thanks for your information - Could you tell me how to set for GMT+7:00 for Vietnam?
Thanks in advance
ajdonnison
17-12-08, 08:32 PM
Try something like:
SetEnv TZ :Asia/Saigon
Thanks you very much - it works now
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.