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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Help, please ...
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ajb
New Member

Australia
81 Posts

Posted - 05 April 2001 :  07:06:00  Show Profile  Visit ajb's Homepage  Send ajb an ICQ Message
Hi HuwR
Various date results below ...

UK Short Date
Raw dates
session var : 20010504122625
date in db : 20010504210122

strToDate function
session var : 5/04/2001 12:26:25 PM
date in db : 5/04/2001 9:04:32 PM

chkDate functions
session var : 00//2/5/04 1 :12::2 AM
date in db : 00//2/5/04 1 :9::04 AM


UK Med
Raw dates
session var : 20010504122625
date in db : 20010504210432

strToDate function
session var : 5/04/2001 12:26:25 PM
date in db : 5/04/2001 9:09:57 PM

chkDate functions

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "/2"]'

/forum/inc_functions.asp, line 685


UK Long
Raw dates
session var : 20010504122625
date in db : 20010504210957

strToDate function
session var : 5/04/2001 12:26:25 PM
date in db : 5/04/2001 9:11:07 PM

chkDate functions

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "/2"]'

/forum/inc_functions.asp, line 701


US Short
Raw dates
session var : 20010504122625
date in db : 20010504211107

strToDate function
session var : 5/04/2001 12:26:25 PM
date in db : 5/04/2001 9:14:26 PM

chkDate functions
session var : /2/00/5/04 1 :12::2 AM
date in db : /2/00/5/04 1 :9::14 AM



John
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 05 April 2001 :  11:05:06  Show Profile  Visit HuwR's Homepage
Yikes, well there is certanly something wrong.

This is the sort of result you should get
Raw dates
session var : 20010405160408
date in db : 20010405160446

strToDate function
session var : 4/5/2001 4:04:08 PM
date in db : 4/5/2001 4:04:53 PM

chkDate functions
session var : 05 Apr 2001 15:04:53
date in db : 05 Apr 2001 15:04:53


My forum is using UK MED and the server is set to uk short dd/mm/yyyy

I will see and figure out why your strToDAte function is converting incorrectly, could you nail me your inc_functions so I can take a quick look


Go to Top of Page

ajb
New Member

Australia
81 Posts

Posted - 05 April 2001 :  21:07:39  Show Profile  Visit ajb's Homepage  Send ajb an ICQ Message
Thanks HuwR
They should be there any time ....
Again, many thanks for you expertise and time!

John
Go to Top of Page

ajb
New Member

Australia
81 Posts

Posted - 13 April 2001 :  17:46:21  Show Profile  Visit ajb's Homepage  Send ajb an ICQ Message
Hi Everyone
Well, obviously I must be the only one with this problem.
Thanks Huw for trying to sort it out, pity we could not come up with why it does it.
I decided to go through every date option and see if any of them work. Well one does, I have set the date format to US Long and it now reads correctly " You last visited on April 14 2001 07:41:01 AM " (has done for two days anyway)
The server is correctly set to ' Brisbane (Australia) GMT plus10 '
If anyone can suggest why it has done this, I would really appreciate knowing.
Thanks
PS (for HuwR)
The datetest.asp still returns an error, as below

Raw dates
session var : 20010414074101
date in db : 20010414075130

strToDate function
session var : 14/04/2001 7:41:01 AM
date in db : 14/04/2001 7:54:33 AM

chkDate functions
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: "4/"]'
/forum/inc_functions.asp, line 705



John
Go to Top of Page

enkabe
Starting Member

26 Posts

Posted - 02 May 2001 :  11:25:46  Show Profile
quote:

Hi Everyone
Well, obviously I must be the only one with this problem.



No, you're not the only one with this problem.
I had the problem in the beginning of April, and now again in the beginning of may.
I'm using the events MOD. In March I made some modifications in the events.asp .
Are you using it as well? I'm starting to wonder if this adjustment to the events.asp file had something to do with it. Maybe I'm wrong in the file name but I do recall that I made some adjustments having to do with time/display.
Are you having the same problems again this month?

Namita


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.28 seconds. Powered By: Snitz Forums 2000 Version 3.4.07