I figured out how to get central time out of GMT using:
$realtime = date( "h:i:s A", mktime(gmdate("h")+6,gmdate("i"),gmdate("s")));
Which will show 6:00 AM when its 12:00 AM GMT. But, when its 6:00 AM GMT, the correct time should show 12:00 PM CNT but it shows 12:00 AM CNT. The A isn't increasing with the h to make the A (AM/PM) show what it is in Central time.
Is there a way to make the A jump 6 hours to? Or a way to get the A to show what US Central Time is. The server is in Pacific time and will jump 2 hours behind if I call the time() function by itself.