Previous Thread
Next Thread
Print Thread
Rate Thread
#240882 03/17/2003 9:25 AM
Joined: Sep 2001
Posts: 64
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 64
I've got a persistant irritation.

All my users complain that thier time stamps are crazy. So I've been monitoring it. My server time will report 8:22am CST but my boards will report 2:22pm CST. I've checked the time offset in the configuration section as well as the personal time offset and both are 0 which means (I think) that the boards should use whatever the server time stamp is.

So - how is ubb.threads getting server time? And why if all the configurations are set to 0 is the time all screwed up?

Sponsored Links
navdan #240883 03/17/2003 9:35 AM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
UBB.threads uses the time() function. What's the output from this script?

Code
<?php echo date('r', time()) ?>

joeuser #240884 03/17/2003 1:19 PM
Joined: Sep 2001
Posts: 64
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 64
The output is:

Mon, 17 Mar 2003 12:18:46 -0600

I'm assuming that the last 5 characters is an offset? If so, where does it come from? My server is set to CST - which is 6 hours behind GMT. Is that the problem?

navdan #240885 03/17/2003 4:24 PM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
If it was 12:18PM your time when you got that result, then it's correct.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)