Unholy Prayer Posted March 6, 2007 Share Posted March 6, 2007 How do I set the default timezone to Eastern Standard Time? I am displaying the time on one of my pages but it's five hours off of my time so I'm guessing it's england's time. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 6, 2007 Share Posted March 6, 2007 Just leave it as British time - its the best time you'll ever have!!! But if you really want to ruin everyone's day you can use this... http://www.php.net/manual/en/function.setlocale.php Quote Link to comment Share on other sites More sharing options...
jcbarr Posted March 7, 2007 Share Posted March 7, 2007 I've used date_default_timezone_set() without any problems in the past. Quote Link to comment Share on other sites More sharing options...
Unholy Prayer Posted March 7, 2007 Author Share Posted March 7, 2007 Eh, PHP.net doesn't explain these things very well. 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.