php date offset
<p>This is my issue, i have a time stamp coming from php, the servers time is 3 hours off from mine. I have offset the time by three hours but quickly realized that at 2 am the date part of the time stamp reads the day before date (day and month) and that does not change till 3 am. This is an issue because the date is important and i need it to be accurate. I have tried the timezone change but cant seem to get it to work. I live in ohio so thats the time i need and the timezone the server is in is three hours behind. So one of two things can help me, a timezone change that works or offsetting the day by 3h, not only the time.   Here is my current code:   </p>

<pre><code> $timechange = mktime(date("g")+3, date("i"), 0, date("m"), date("d"), date("y"));

 $date = date("D, d M Y g:i",$timechange);
</code></pre>
