How to format date string in java? [duplicate]
If you are looking for a solution to your particular case, it would be: Date date = new SimpleDateFormat(“yyyy-MM-dd’T’HH:mm:ss.SSS’Z'”).parse(“2012-05-20T09:00:00.000Z”); String formattedDate = new SimpleDateFormat(“dd/MM/yyyy, Ka”).format(date);