Can somebody recommend the best way to convert a string in the format 'January 2, 2010' to a date in java? Ultimately, I want to break out the month, the day, and the year as integers so that I can use:
Date date = new Date();
date.setlong currentTime = date.getTime();
to convert the date into time.
Last updated:8/10/2015 5:56:59 AM