
Hii.. I want to convert a string into a date .. this is simple .. but i want to do it without knowing the date format.. Here is a situation .. say i hav 100 dates .. and all are in the same format. but i want to write a java program to find out dis format for me. the result of this program shld give me a list of all the possible formats .. example 06-06-2006 06-06-2009 .. 99th record 06-13-2001
the result of this will give me date format can be (mm-dd-yyyy)
if the 99th record also was 06-06-2006 the result should be date format can be (mm-dd-yyyy;dd-mm-yyyy)
can sum1 please help me with an example