Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Server Time
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Server Time

 Post Reply Post Reply Page  12>
Author
pnppnp View Drop Down
Newbie
Newbie


Joined: 29 June 2003
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote pnppnp Quote  Post ReplyReply Direct Link To This Post Topic: Server Time
    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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
pnppnp View Drop Down
Newbie
Newbie


Joined: 29 June 2003
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote pnppnp Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2004 at 5:37am

thanks boRg,

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

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
pnppnp View Drop Down
Newbie
Newbie


Joined: 29 June 2003
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote pnppnp Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2004 at 7:08am
ok, thanks, I'll tell how it went.
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 07 January 2004 at 8:32am
I did the exact same thing and thus far have not run into any major problems.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.