fatmikey Posted February 12, 2009 Share Posted February 12, 2009 I noticed my webhost company which is in a different time zone does not match my time zone. This is annoying because when I run scripts on my web host machine and it sends back data including date and time it is 3 hours off. Any ideas on how I can change this? Thanks. FatMikey Quote Link to comment Share on other sites More sharing options...
drisate Posted February 12, 2009 Share Posted February 12, 2009 This is quite easy actually. Open your .htaccess file and add the following line: SetEnv TZ location where 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.