Date function gives wrong date?

Hey guys! So when I use the date function to give the current date (say it was 11/2/12), it would give the wrong date (11/3/12). I have the default timezone function set to EDT (eastern time?), but it still give the day after it’s supposed to. Does anyone know what’s happening?

Where are you located, and where is your server located?

i’m located on the east coast of the U.S. but i’m not sure where the server is located…

Have you tried using

date_default_timezone_set('America/New_York');

Or any of the America acceptable timezones