I am trying to format a string date as follows:
DateFormat df = new SimpleDateFormat("MM-dd-yyyy");
Date d = df.parse("11-02-2012");
However, when I inspect the d variable it is: “Wed Dec 02 00:00:00 EST 16” (12/02/2016)
Can anyone help me properly format this so, I get the right results?
I see the correct value:
And I get
What TimeZone do you have set?