This is a discussion on "date string-drop downs" within the Classic ASP section. This forum, and the thread "date string-drop downs are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
date string-drop downs
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
date string-drop downs
Hi can anyone help me???:mad:
I have a form to input details into the databse. I have date posted and end date in drop downs, daay month year. (works fine locally) Due to sql it wont work just getting 0000000, I need to put the 3 values into one date string and then convert it to Year-Month-Day can anyone tell me how to do this the one date string is really getting me, please if you can help tell me were to put the code as i am very new to this. thanks |
|
|
|
#2
|
|||
|
|||
|
Not sure if this will work but you could try:
idate = CDate(Request.Form("Year") & "-" & Request.Form("Month") & "-" & Request.Form("Day")) Also, make sure the page which inserts the date into the database has the correct Session.LCID |
|
#3
|
|||
|
|||
|
thanks, what is the correct Session.LCID?? I dont know what this is (sorry very new to this)
|
|
#4
|
|||
|
|||
|
I finaly got it to work, i used a calender pop up and converted the date to yyyy/mm/dd.
|
![]() |
| Tags |
| date, stringdrop, downs |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get value from SQL string ? | VegaLA | Classic ASP | 5 | Jan 30th, 2008 07:39 |
| Problems with my CSS Drop Downs In IE | yinyang042 | Web Page Design | 5 | Jan 10th, 2008 17:30 |
| Drop down menus drop behind flash header | theGAME71135 | Flash & Multimedia Forum | 3 | Jan 10th, 2008 09:42 |
| Cross Browser/Platform Issues with drop downs | Maverick25r | Web Page Design | 2 | Oct 4th, 2006 13:27 |
| Changing date format in date picker | AdRock | JavaScript Forum | 1 | Aug 1st, 2006 17:16 |