I'm trying to insert dates and times into a database. The dates are displayed from the database as for example
March 1, 2005 - but in the database the id is 1
April 1, 2005 - and for April the id is 2
I want the users to see March 1, 2005 which I do now but need to pass 1 to the query
string and 2 etc. How can I change the dates in the background using
JSP to the Integer of 1 for March and 2 for April or for that matter whatever date the user clicks on? My
servlet needs to see the dates and times as an integer or it wont work.
Any help would be appreciated.
[ December 04, 2004: Message edited by: Kirk Martin ]