i have a date string in
DD-MM-YYYY (28-11-2011)
I want to convert it into linux time stamp without time or time is zero.
I am doing it by
String dateString="13-09-2011";
SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy");
              Date date = null;
              try {
                    date = (Date)formatter.parse(dateString);
                    Log.v(Constants.LOGGING_TAG, "Date is " + dateString);
                } catch (ParseException e) {
                    e.printStackTrace();
                }
                Log.v(Constants.LOGGING_TAG, "Today is " + date.getTime());
but this is not giving the desired result. Any body have any idea to solve this issue.
 
    