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 Link to comment https://forums.phpfreaks.com/topic/144854-timezone-how-to-set-it-to-match-mine/ 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 Link to comment https://forums.phpfreaks.com/topic/144854-timezone-how-to-set-it-to-match-mine/#findComment-760126 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.