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]

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.