PDA

View Full Version : Wrong Date and Time


shkh1
07-07-05, 03:49 AM
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.

shkh1
07-07-05, 05:06 AM
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!

yukos
17-12-08, 02:45 AM
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

yukos
18-12-08, 05:15 PM
Thanks you very much - it works now