i have a 3 select box (year,month,day). the read only textbox contain the selected date. i am going to compare the date to a date in a database.
in my database i have 2004-11-23 & 2004-11-01. i selected 2004-11-23 and compare it if there is also same date in my database then it displayed "found" however, i selected 2004-11-1 from my select boxes when it was compared to my database it displayed "none". since the selected date from my selectboxes is considered or the data type is string and the data type in my database is date, there will be problem when comparing with day 1-9. is there someone who knows how to convert the string "2004-11-1" to date "2004-11-1".
