Jump to content
The Uniform Server Community

Setting Time Zone


Wx1der
 Share

Recommended Posts

I just downloaded the latest version of Uniform Server (I think Coral 8.6.0), and it has more features than the previous version I had been using with VADV-PHP for Virtual Advanced BBS software.

 

One question I do have, though...is that in the "time display" on the page, it's currently in "Europe/London" time...which would be fine if I wanted the system to run/display in UTC Time. Even though my BBS is ham radio and weather oriented, and data is logged in UTC Time, it could be confusing to visitors to the website, plus the times for messages posted are in UTC. However, my system clock under Windows XP, Service Pack 3, shows the correct time (U.S. Central Time)...which is 6 hours behind UTC from the first Sunday in November to the second Sunday in March, and 5 hours behind UTC the rest of the year.

 

Basically, I'm wondering what other "variables" there are. I think it was in the PHP.INI file where I saw the data, but couldn't find anything in the documentation on that (I might have overlooked it, though). I can write a simple electronic batch file, but my programming ends at setting the clock on the microwave oven (grin!). Any assistance would be greatly appreciated.

 

Daryl Stout, Sysop

The Thunderbolt BBS

Little Rock, Arkansas

 

P.S. Today is the 22nd anniversary of when I first became a Sysop, running "The World's Smallest BBS" on a Radio Shack TRS-80 Model 100 laptop computer...my, how things have changed!!

Link to comment
Share on other sites

Try the following:

 

Edit files:

UniServer\usr\local\php\php.ini

UniServer\usr\local\php\php_development.ini

UniServer\usr\local\php\php_production.ini

 

Locate line

date.timezone = "Europe/London"

 

Change to

date.timezone = "US/Central"

 

All the best

Ric

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
 Share

×
×
  • Create New...