Jump to content

altering time per timezone and displaying time one hour from current time


webguync

Recommended Posts

Hi,

 

I am printing out a date as such

echo date('l jS \of F Y h:i:s A');

 

The server is on west coast and I am on east coast. It displays west coast time and I want to adjust -3 hours for east coast time. I have seen it done before but cannot find reference to how it is done right off hand. The server has PHP 4 installed if that makes a difference. I also want to display the time one hour ahead such as echo "one hour from now will be (php)";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.