Validate Date problem

Hi,I need to validate the date format.if the user enter the date in wrong format then it has to show the prompt message will u please solve this problem
[173 byte] By [kagitalaa] at [2007-11-27 7:37:15]
# 1
As you were told in your other thread before it became a trainwreck, use SimpleDateFormat.
floundera at 2007-7-12 19:17:49 > top of Java-index,Java Essentials,Java Programming...
# 2
HiYou can use SimpleDateFormat. http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.htmlpublic SimpleDateFormat(String pattern,DateFormatSymbols formatSymbols)And for the prompt message, you can just make use of the thrown exceptions.
redfragrancea at 2007-7-12 19:17:49 > top of Java-index,Java Essentials,Java Programming...
# 3
Then how to check month and date and year can u pls help me
kagitalaa at 2007-7-12 19:17:49 > top of Java-index,Java Essentials,Java Programming...
# 4
> can u pls help meNot until you explain your problem more clearly and precisely.
jverda at 2007-7-12 19:17:49 > top of Java-index,Java Essentials,Java Programming...