Date HELP !!!!

Hello all,I have a string which contains a text date:"dd/mm/yyyy"I need to somehow convert it to a java.util.date object.Is this an easy task, or can someone give ideas?
[232 byte] By [wmacey] at [2007-9-26 2:55:59]
# 1

There is lot of documentation on Java 2 API Javadoc

http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html

Also, there were so many postings on this topic. Please make sure that you try to do some research before you post something on this site.

SimpleDateFormat sdf = new SimpleDateFormat ("dd/MM/yyyy");

Date resultDate = sdf.parse ("12/2/2000");

pbalaram at 2007-6-29 10:46:38 > top of Java-index,Archived Forums,Java Programming...
# 2
i am using dformatter = new simpledateformat("mm-dd-yyyy");newdate = dformatter.parse("02-03-2002");i am getting "unparseable error" why?i am executing this from servlet? Please i need help fast.thanks
rudyneti1 at 2007-6-29 10:46:38 > top of Java-index,Archived Forums,Java Programming...
# 3
probably it's because you used "mm-dd-yyyy" instead of "MM-dd-yyyy". "mm" is for "minute in hour", "MM" is for "month in year". See http://java.sun.com/j2se/1.4/docs/api/java/text/SimpleDateFormat.htmlUlrich
uhilger at 2007-6-29 10:46:38 > top of Java-index,Archived Forums,Java Programming...