Author |
Topic |
pweighill
Junior Member
United Kingdom
453 Posts |
Posted - 18 August 2002 : 16:03:16
|
I've got my date format set to M/d/yyyy in IIS at the moment
e.g date() returns 8/18/2002
Date picker does not appear to be working because of my current date settings. |
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 August 2002 : 16:09:31
|
When you say it's not working, is it giving you an error? |
|
|
pweighill
Junior Member
United Kingdom
453 Posts |
Posted - 18 August 2002 : 17:05:20
|
Microsoft VBScript runtime (0x800A000D) Type mismatch: 'strNextMonthDate' /sf2k_v34/pop_datepicker.asp, line 387 |
|
|
wii
Free ASP Hosts Moderator
Denmark
2632 Posts |
Posted - 18 August 2002 : 17:18:39
|
I get this error:
Error Type: Microsoft VBScript runtime (0x800A000D) Type mismatch: 'strCurrentDate' /forum1/pop_datepicker.asp, line 382
When activation birth date and entering the datepicker in the profile.
|
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 18 August 2002 : 18:07:58
|
I was about to post the same error:
error '800a000d'
Type mismatch: 'strCurrentDate'
/forum2/pop_datepicker.asp, line 382
@tomic |
SportsBettingAcumen.com |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 18 August 2002 : 18:09:42
|
Have I said how much I absolutely hate dates? If not, I'm saying it now. Just use Age for now until we can come up with a fix, ok? I thought for sure if it would work on Huw's server, then it would work pretty much anywhere (just because of the different date format). It works fine on my server and it works on this server too.
I think there should be a guideline/law/requirement/etc.. for ALL Servers on the Internet to use the same date format. |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 18 August 2002 : 19:30:20
|
<< August 1989 Microsoft VBScript runtime error '800a000d'
Type mismatch: 'strCurrentDate'
/forum/pop_datepicker.asp, line 382
|
Test Site: EastPasco Huw's Code 3.3.10 SQL 2000 Huwr's Modified Code Email |
|
|
richfed
Average Member
United States
999 Posts |
|
lir
New Member
USA
67 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 18 August 2002 : 20:59:02
|
The cause of error is the use of the following code. Not that the following code is faulty, but the purpose of the following code was different and is not suitable for the context, it has been used in date picker. I have pin pointed the problem and will post the a temporary solution, as I need to go thru the code.
if strComp(Month("04/05/2002"), "4") = 0 then tmpDate2 = Mid(tmpDate1, 1, 2) & "/" & Mid(tmpDate1, 4,2) & "/" & Mid(tmpDate1, 7,4) else tmpDate2 = Mid(tmpDate1, 4, 2) & "/" & Mid(tmpDate1, 1,2) & "/" & Mid(tmpDate1, 7,4) end if
|
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 18 August 2002 : 21:46:28
|
<EDIT>Remove Code. Look here for solution.
Here is the Modified Code. Replace the code in pop_datepicker.asp with the following code.
Test it and post, if there are any errors. There are further modifications which can be done, however this code as is should also work as desired.
It will be better if Moderators can creatre a zip file for the convenience of users to download and test it.
Test it here.
I am working on directory structure, so if the forum at the link above gives errors, please bear with me. |
Edited by - GauravBhabu on 20 August 2002 22:17:16 |
|
|
rick7165
Senior Member
USA
1094 Posts |
|
seven
Senior Member
USA
1037 Posts |
Posted - 19 August 2002 : 10:06:13
|
This is what I get on the DOB picker running on IIS, SQL 7 DB.
|
|
|
|
Azaniah
Senior Member
United Kingdom
1004 Posts |
Posted - 19 August 2002 : 11:00:39
|
That's fixed for me...
For those that don't know - To copy the above, click reply to topic, and the formating is much better when you paste.
|
Eagles fly!, but weasels don't get sucked into jet engines. |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 19 August 2002 : 15:25:06
|
airilm, have you used the code posted by me? |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 19 August 2002 : 15:31:11
|
GauravBhabu, I have 1 question about the code you posted above.
in the very last function (chkDateDiff()) you have:
strCurrentDate = strForumDateAdjust
But, you removed where I had strForumDateAdjust defined. Should it be strForumTimeAdjust ? |
|
|
Topic |
|