Jump to content

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 

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.