SQL server date Type - formatting

2000-08-14 Thread Neal Cabage
I have a field in my SQLServer DB that is of DateTime type. JDBC returns the value as: 2000-08-09 23:24:43.810 Then I need to format this as follows: 8/14/00 I was going to use: <% DateFormat myFormat = new SimpleDateFormat("MM/dd/yy"); Date myTest = myFormat.parse(rs.getString("date_mod")) %>

Re: SQL server date Type - formatting

2000-08-14 Thread Neal Cabage
eal Cabage Sent: Monday, August 14, 2000 6:57 PM To: [EMAIL PROTECTED] Subject: [JSP-INTEREST] SQL server date Type - formatting I have a field in my SQLServer DB that is of DateTime type. JDBC returns the value as: 2000-08-09 23:24:43.810 Then I need to format this as follows: 8/14/00 I was go