I have a date inside a string, something like \"12-December-2012\". How can I convert this into milliseconds (long)?
Take a look to SimpleDateFormat class that can parse a String and return a Date and the getTime method of Date class.
SimpleDateFormat
String
Date
getTime