Hello all! I have a java.sql.date object called startdate that I need to initialize and set. Initializing it is easy enough
java.sql.Date startdate;
But how do I set string variable (ie/ String SomeStringDate = "01/01/2001"
to startdate's java.sql.Date format?
Basically I need to set startdate = SomeStringDate entered by the user.
Does anyone have an example of this? The format of the string doesn't really have to be sa it is above, I'm just looking for an example out there. Please help if you can. Thank You!!!
Thanks in advance,
CrystalVisualBOracle
java.sql.Date startdate;
But how do I set string variable (ie/ String SomeStringDate = "01/01/2001"
to startdate's java.sql.Date format?
Basically I need to set startdate = SomeStringDate entered by the user.
Does anyone have an example of this? The format of the string doesn't really have to be sa it is above, I'm just looking for an example out there. Please help if you can. Thank You!!!
Thanks in advance,
CrystalVisualBOracle