Q:

spoofing time on server

I have a web page that receives currently playing songs on my local radio stations.  It gets song data from Radiotime.com.  My problem is that the server that hosts my page is in the American Central time zone, and as such, the times in the data received by the server are in Central time.  The radio stations and I, however, are in the Eastern time zone, so I would prefer the times shown on my web page to be in Eastern time.  Can I spoof the time zone shown by the server, or can I convert the times shown on the page somehow?  Any help will be greatly appreciated.  -Austin

A:

If you're using PHP 5.1 or greater you can use date_default_timezone_set:
date_default_timezone_set('America/New_York'); // set timezone to Eastern

