timezone problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
billabon0202
Forum Newbie
Posts: 8
Joined: Wed Feb 20, 2008 11:31 am

timezone problem

Post by billabon0202 »

how do I, using the date_default_timezone_set() function, set eastern standard time
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: timezone problem

Post by Christopher »

You pass it a string containing one of these:

http://us2.php.net/manual/en/timezones.america.php

Pick your nearest city.
(#10850)
Post Reply