Jump to content


Photo

Setting Time Zone


  • Please log in to reply
1 reply to this topic

#1 Wx1der

Wx1der

    Newbie

  • Member
  • Pip
  • 1 posts
  • Main OS: Windows XP

Posted 01 December 2012 - 06:02 AM

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!!

#2 Ric

Ric

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 02 December 2012 - 04:17 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users