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)";

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.