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 / Classic ASP versions(v3.4.XX)
 datepicker.asp defaults to 1989
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

seven
Senior Member

USA
1037 Posts

Posted - 25 November 2002 :  22:39:36  Show Profile  Visit seven's Homepage
Why does the datepicker.asp calendar default to year 1989 if no date is already selected as your DOB?

Is this a bug? Should it not default to todays date?

GauravBhabu
Advanced Member

4288 Posts

Posted - 25 November 2002 :  22:46:49  Show Profile
It is not a bug. It defaults back 13 years from today. The age required to register.
Go to Top of Page

seven
Senior Member

USA
1037 Posts

Posted - 26 November 2002 :  07:49:57  Show Profile  Visit seven's Homepage
That makes sense, the only reason I didn't realize that was I was using the datepicker for another field on my website, I guess It didn't click.

quote:
Originally posted by GauravBhabu

It is not a bug. It defaults back 13 years from today. The age required to register.


Go to Top of Page

David K
Junior Member

494 Posts

Posted - 27 November 2002 :  17:55:26  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
if you want to change that, just ask, and i'll tell you how
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 December 2002 :  06:16:36  Show Profile  Visit richfed's Homepage
I know this subject has been broached several times before, but I cannot find an answer to my situation. The procedure is being followed correctly: select month & year ---> hit "go ---> click on date. Birhdate is "on." Age is "off." Version 3.4.03, with all fixes to date. Yet, it defaults to 13 years ago anyway ... seems to work for some, but not for others ...

I tried to set the date myself for users having trouble. Wouldn't work. Date reverts to 13.

Any suggestions?

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 17 December 2002 :  06:48:15  Show Profile  Visit richfed's Homepage
Never mind ... we were failing to click the "Submit" button at the bottom of the Profile ...

Ooops!
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 18 December 2002 :  08:41:59  Show Profile
in actually, i really got some problem with this datepicker feature..

at first time, when i choose month, year and press "Go"... it never really "Go" for me. always stay in 1989 and this month. and if i use << and >> to get my birthday..(when doing this.. you'll so disappoint why you're so far to 13 years old..) and everything seem no problem... but next time you try the datepicker to edit profile.. you'll see the error message now.
something cDate mistake in line.197....
dDate = cDate(Mid(strDOBDate,7,2) & "-" & MonthName(Mid(strDOBDate, 5,2)) & "-" & Mid(strDOBDate, 1,4))


i think it's cause from the special date/time format in my language..(the MonthName will show in Chinese word.. and seem not the same with the system date/time express method..) not sure what exact reason of this date/time problem, but anyway, the fix is....
just remove the MonthName in line..197, 204, 205 (datepicker.asp)

if someone non-english friends also have the same special problem... you can try to do this fix.
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 18 December 2002 :  15:43:41  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
i'm non-english, and I don't have this problem (but My OS is english, so I guess that explains it!
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 December 2002 :  15:56:26  Show Profile
The problem explained by DoraMoon seems to be due to the fact(?) that cDate does not support monthname in all languages and this problem will occur in other languages as well. I remember using a custom function to determine and get around that problem.
Go to Top of Page

David K
Junior Member

494 Posts

Posted - 18 December 2002 :  17:08:21  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
I use a custom function for the opposite (MonthName doesn't work in Hebrew)
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 18 December 2002 :  18:44:58  Show Profile
quote:
Originally posted by David K

I use a custom function for the opposite (MonthName doesn't work in Hebrew)



opposite of what?
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.48 seconds. Powered By: Snitz Forums 2000 Version 3.4.07