All
When I define a date object it automatically assumes it's MM/dd/YYYY, however I enter it as dd/MM/yyyy.
Date d1 = new Date("5/12/2015 10:30:00");
When I get the name of the day from that date it gives me the name of May 12 (Tuesday) instead of the name of december 5 (Saturday).
dateName = new SimpleDateFormat("EEEE", Locale.ENGLISH).format(d1);
Can anyone help me out?