I have a string obtained by calling the toString method of instance of the class Date. How can I get a Date object from this string?
toString
Date d
Take a look at SimpleDateFormat#parse(). It should provide the functionality you're looking for.