How to show Firestore serverTimestamp correctly depending on local
问题 I cant get this right and wonder how to show the Firestore FieldValue.serverTimestamp() formatet individual depending on what local the device has. The Firestore timestamp look like this Sat Mar 10 19:42:32 GMT+01:00 2018 try { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS", Locale.getDefault()); Date parsedDate = dateFormat.parse("Sat Mar 10 19:42:32 GMT+01:00 2018"); txtCreationDate.setText(new Date(parsedDate.getTime()).toString()); } catch (ParseException e)