I have two dates in String format like below -
String startDate = \"2014/09/12 00:00\"; String endDate = \"2014/09/13 00:00\";
I want to
Use SimpleDateFormat to parse your string representation into instance of Date. The invoke getTime() to get milliseconds. Then compare the milliseconds.
SimpleDateFormat
Date
getTime()