Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 HuwR's Timezone MOD
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Anacrusis
Junior Member

USA
219 Posts

Posted - 12 June 2003 :  14:11:07  Show Profile  Visit Anacrusis's Homepage  Send Anacrusis an AOL message
Yea i've done all that. Everything is set to EST which is what it should be. The time is still an hour off. It seems like it's adding daylight savings twice.
In config.asp I've changed
strForumTimeAdjust = DateAdd("n", - intForumBias - intForumDaylAdjust, DateAdd("n", + intServerBias , Now()))
to look like:
strForumTimeAdjust = DateAdd("n", - intForumBias, DateAdd("n", + intServerBias , Now()))

It works for now for me. I'm not sure what kind of effects that's going to have though. Especialy when DST ends.

The Internet ClubHouse
www.internet-clubhouse.com

Edited by - Anacrusis on 12 June 2003 14:12:17
Go to Top of Page

Image
Average Member

Canada
574 Posts

Posted - 13 June 2003 :  19:24:33  Show Profile  Visit Image's Homepage  Send Image an ICQ Message
In config.asp
add after
Dim SubCount, MySubCount

this
dim intLocalBias
dim DayLightSave
dim intServerBias
dim intForumBias

before
if strSecureAdmin = "0" then
add

intForumBias = Application(strCookieURL & "STRFORUMBIAS")
intForumDaylAdjust = Application(strCookieURL & "STRFORUMDAYLADJUST")
intServerBias = Application(strCookieURL & "STRSERVERBIAS")
strForumTimeAdjust = DateAdd("n", - intForumBias - intForumDaylAdjust, DateAdd("n", + intServerBias , Now()))




Go to Top of Page

Anacrusis
Junior Member

USA
219 Posts

Posted - 13 June 2003 :  22:57:03  Show Profile  Visit Anacrusis's Homepage  Send Anacrusis an AOL message
Thanks Image, I've gotten all the code in though. But for some reason it's one hour off. Almost like DST is being added twice.

Would you mind helping me get this working on my site, Image? I'd really like to get timezones working but have hit a brick wall here.

Shoot me an email or send me an IM if you wouldn't mind.

The Internet ClubHouse
www.internet-clubhouse.com
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07