Jump to content

[SOLVED] Time Difference


timmah1

Recommended Posts

On a site I did, the company is located in Arizona, and they host through Network Solutions, which I see are in Virgina.

Different time zones.

I need to display the local time (which is Arizona) from this code

$formatted = date("F j, Y h:i a", strtotime($row['date']));

 

How would I make this code show -3 hours?

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/130766-solved-time-difference/
Share on other sites

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.