Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Active Topics Default Time
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Active Topics Default Time

 Post Reply Post Reply
Author
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Topic: Active Topics Default Time
    Posted: 30 November 2004 at 8:13am
I normally enter the forum through a bookmark to active topics (http://forums.webwiz.net/active_topics.asp).
 I've noticed that for the paste 3 or 4 days, when I go to Active Topics, the default time that loads is 4 hours instead of last login time although last login time is in the dropdown.

Lead me not into temptation... I know the short cut, follow me.
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: 30 November 2004 at 12:46pm
The page is currently being e-written to support the new last visit cookie.

To prevent the CDate error, that effects some foreign servers running web wiz forums, instead of storing the date as a Double number, I did some research and came across an VB article on 4guys form rola that covered date issues with Access and SQL Server and also foreign servers.

In the article it said that by storing the date in international format with a (-) dash between the parts it should be read by all Windows based systems.

It also means that IsDate method can be used, which couldn't with Double numbers, so before CDate is use to convert the date I can check it will actually work using IsDate.

The date is now stored in the cookie as:-

2004-30-11 17:23
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2004 at 12:48pm
wow, good find -boRg-! That will help me out a lot in the future when working on scripts with dates Big smile

Edited by MadDog - 30 November 2004 at 1:52pm
Back to Top
 Post Reply Post Reply

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.