Jump to content

Time Off By 3 hours Only In One Domain


JustinK101

Recommended Posts

I am confused, I am running multiple domains on the same server.

 

For all my domains the date/time is right, Pacific Time, but one domain is using Eastern Time. I don't know how this is happening. Is there a setting I should be looking at?

 

Here is the date() command I am using on all domains to display the date/time.

 

printf(date("l, F jS - g:ia", time()))

Link to comment
https://forums.phpfreaks.com/topic/90596-time-off-by-3-hours-only-in-one-domain/
Share on other sites

Here is the contents of my phpinfo(), look good using Los_Angeles.

 

date
date/time support  enabled  
"Olson" Timezone Database Version  2007.5  
Timezone Database  internal  
Default timezone  America/Los_Angeles  

Directive Local Value Master Value 
date.default_latitude 31.7667 31.7667 
date.default_longitude 35.2333 35.2333 
date.sunrise_zenith 90.583333 90.583333 
date.sunset_zenith 90.583333 90.583333 
date.timezone no value no value 

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.