posted 21 years ago
I'm not sure what you mean, Donald. Is the field declared as a Date in the database or not? Does getDate() return an object, or does it throw an exception? If it returns an object and you're just not happy with the format that's displayed when you print it, that's fine - you can still use the second SimpleDateFormat I gave you (df2) to format it differently. I'm just saying you don't need the first one (df1) to parse the date as a Date object - the ResultSet does this for you.
"I'm not back." - Bill Harding, Twister