Print Page | Close Window

Server Time

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8639
Printed Date: 07 April 2026 at 9:38am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Server Time
Posted By: pnppnp
Subject: Server Time
Date Posted: 07 January 2004 at 5:11am

I understand how the time is being set now, in version 7.6.

I'm converting from a previous board version and everybody should have to set their time offset. It's a bit tricky. Also a guest user would see server time.... It's not a good idea.

I think the previous verision also had its benefits....

I guess the ideal solution would be having the two sets. A general set for correcting server time and a user time offset that overrides forum time. That way would be perfect.

While this feature isn't implemented :) I'm planning on initializing intTimeOffSet = 6 in common.asp

and to not loose the timeoffset after dbread:

intTimeOffSet = intTimeOffSet + CInt(rsCommon("Time_offset_hours"))

I guess I'll cover all the options here, so my forum default time would be 6 hours ahead and I also allow user customization. What do you think?

PP




Replies:
Posted By: WebWiz-Bruce
Date Posted: 07 January 2004 at 5:16am
It was tried but to many problems and errors arose from it that it was abandoned in favour of having users beable to set their own time of sets only and not for a global one and a user one together.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pnppnp
Date Posted: 07 January 2004 at 5:37am

thanks boRg,

and the solution I pointed? in a 5 secs. analyse, do you think it survives?



Posted By: WebWiz-Bruce
Date Posted: 07 January 2004 at 6:43am
You an give it ago, but when I tried the same type of thing but setting it from the admin area I ran loads of problems. Sorry can't exactly remember what as it was over a year ago I was doing this.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: pnppnp
Date Posted: 07 January 2004 at 7:08am
ok, thanks, I'll tell how it went.


Posted By: ljamal
Date Posted: 07 January 2004 at 8:32am
I did the exact same thing and thus far have not run into any major problems.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: WebWiz-Bruce
Date Posted: 07 January 2004 at 9:11am
The problems as I recall had something to do with if you tried to set the time behind that of the server eg. -8 hours.

When people came to then also be another - 8 hours behind this time it would thow days out ie. it would then be -16


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: ljamal
Date Posted: 07 January 2004 at 11:34am
But it's all relative, why would -16 hours be any worse than -6? If you have a base and use DateAdd to move yourself away from the base the times should sync correctly.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: RAVALON
Date Posted: 07 January 2004 at 2:39pm
me too i have problems with format date functions....exists a solution?


Posted By: pnppnp
Date Posted: 07 January 2004 at 5:39pm

hummm, I see... date and time correlation probs.

server already in a new date and time being deducted. Yep I can see the possible problems there.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net