Jump to content

[SOLVED] Easy date question


DBookatay

Recommended Posts

On my site it lists my business hours, and includes the current time:

echo date('g:i a');

 

Problem is I just switched hosting companies and theres a 3 hour time difference now. I'm in in the Eastern Time Zone and they are in the Pacific Time Zone.

 

How do I add the 3 hours to my code?

Link to comment
https://forums.phpfreaks.com/topic/146071-solved-easy-date-question/
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.