try {
   java.sql.Date d = new java.sql.Date(new
SimpleDateFormat("dd-MMM-yy").parse("06-apr-07").getTime());
}
catch (ParseException ex) {
}

Chris

On 6/22/06, temp temp <[EMAIL PROTECTED]> wrote:
I have a string which I want to convert into a date .
  The string   06-APR-07

  How can I convert this date into sql date ?

  Thanks




---------------------------------
Yahoo! Groups gets better. Check out the new email design. Plus there's much 
more to come.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to