I have a date in String an I using this:
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm");
dataUltima = sdf.format(sdf);
to format the date. But this method return the actual date of system. How can I only format the date without change the date.
Obs. I'm getting this date from a server, it come to me yyy-dd-MM and I want it dd/MM/yyyy