I want to check whether a string is in a valid date format or not ie(yyyy/MM/dd) form.How it is to be done in java.
God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
posted 11 years ago
With a little work you could write the code that does this yourself. However, the Java API provides two classes that may help: DateFormat and SimpleDateFormat. Check out these links for an explanation of the methods that are available for you to use.