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);
More Related Contents:
- Convert String to Calendar Object in Java
- Get yesterday’s date using Date [duplicate]
- Converting String to Date using SimpleDateFormat is returning random date [duplicate]
- How to parse a date? [duplicate]
- How do you format the day of the month to say “11th”, “21st” or “23rd” (ordinal indicator)?
- How to convert java.util.Date to java.sql.Date?
- Illegal pattern character ‘T’ when parsing a date string to java.util.Date
- Convert java.util.Date to what “java.time” type?
- SimpleDateFormat producing wrong date time when parsing “YYYY-MM-dd HH:mm”
- How to convert a String to a Date using SimpleDateFormat?
- Difference between year-of-era and week-based-year?
- Date object SimpleDateFormat not parsing timestamp string correctly in Java (Android) environment
- What is the use of “lenient “?
- Calculating difference in dates in Java
- Convert a date format in epoch
- In Java, how do I get the difference in seconds between 2 dates?
- Comparing time is incorrect when picking 12:00
- Generic support for ISO 8601 format in Java 6
- What are the date formats available in SimpleDateFormat class?
- Displaying AM and PM in lower case after date formatting
- how to add days to java simple date format
- How to transform currentTimeMillis to a readable date format? [duplicate]
- Android calculate days between two dates
- Java Best Practice for Date Manipulation/Storage for Geographically Diverse Users
- How to Parse Date from GMT TimeZone to IST TimeZone and Vice Versa in android
- Time: How to get the next friday?
- Java 8: Calculate difference between two ZonedDateTime
- Date format conversion using Java
- Parse a String to Date in Java
- Java SimpleDateFormat pattern for W3C XML dates with timezone [duplicate]