I have a date inside a string, something like \"12-December-2012\". How can I convert this into milliseconds (long)?
you can use the simpleDateFormat to parse the string date.