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. Link to comment https://forums.phpfreaks.com/topic/41530-default-timezone/ 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 Link to comment https://forums.phpfreaks.com/topic/41530-default-timezone/#findComment-201229 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. Link to comment https://forums.phpfreaks.com/topic/41530-default-timezone/#findComment-201381 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. Link to comment https://forums.phpfreaks.com/topic/41530-default-timezone/#findComment-201720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.