Posted By:
Michael_Wax
Posted On:
Friday, April 6, 2001 09:55 AM
The DateFormat and its subclasses have methods called "parse" which parse Strings into Dates.
For internationalization, you need to get the proper instance of DateFormat, as follows.
DateFormat myFormat = DateFormat.getDateInstance(DateFormat.LONG, myLocale);
Date date = myFormat.parse(dateString);
Several points: