1
khampster
Time zone problem...
  • 2005/1/27 19:27

  • khampster

  • Just popping in

  • Posts: 49

  • Since: 2005/1/19


uhm, hey... i just found out that my time on the server reads out 14 hours slower than my time zone! i did check the time zone setting on my admin controls and its set at the correct time zone... I live in the central time zone area (chicago, IL) is there a way to correct this issue? let me know!!

thanks.

2
Dave_L
Re: Time zone problem...
  • 2005/1/27 19:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Are both time zone settings in the control page set correctly? And also the time zone setting in your user account?

3
khampster
Re: Time zone problem...
  • 2005/1/27 22:18

  • khampster

  • Just popping in

  • Posts: 49

  • Since: 2005/1/19


i checked and yes they are both set at the correct time zone... but the time on the forum is not the same as the time on my actual watch....

4
khampster
Re: Time zone problem...
  • 2005/1/28 9:35

  • khampster

  • Just popping in

  • Posts: 49

  • Since: 2005/1/19


so is there a solution to adjust the time settings on my server for xoops? i dont know how to get to it....

5
Dave_L
Re: Time zone problem...
  • 2005/1/28 15:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


What are the following settings:

1) Control Panel >> System Admin >> Preferences >> General Settings >> Server timezone

2) Control Panel >> System Admin >> Preferences >> General Settings >> Default timezone

3) Home >> Edit Account >> Time Zone

If you place this script on your server, what is its output?

4)
<?php echo 'Local: ' date('r') . "n<br />GMT: " gmdate('r'?>

6
DonXoop
Re: Time zone problem...

Where is the actual server? You need to set the time zone setting to where it is physicaly located (or what the server is set to which can be different from physical). The above suggestions will get you the info. XOOPS AFAIK takes what the server says for time (not your local computer) and calculates the time against your profile set time zone.

7
LazyBadger
Re: Time zone problem...

AFAIS, XOOPS have some troubles with time calculation, when user's TZ and server's TZ have different signs

8
khampster
Re: Time zone problem...
  • 2005/1/29 12:51

  • khampster

  • Just popping in

  • Posts: 49

  • Since: 2005/1/19


yea i check those control panel configurations and they are correct... but its still shooting out the wrong time... i think it may be the server time but i dont know what is their time zone over there... crap.. i host with 1t3.com and i have to know where they are located at. i guess i have to restart from 0:00 and work my way down to the list to see what is right. ill get back to ya if i got it resolved.

9
Catzwolf
Re: Time zone problem...
  • 2005/1/29 12:58

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Are you sure your server is actually where they say it is?

This part of the code works as it should.

10
Dave_L
Re: Time zone problem...
  • 2005/1/29 13:03

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


khampster, the script I posted above tells you what time zone the server clock is using. The date() function displays the server clock.

Login

Who's Online

238 user(s) are online (156 user(s) are browsing Support Forums)


Members: 0


Guests: 238


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits