What is the most elegant way to get ISO 8601 formatted presentation of the current moment, UTC? It should look like: 2010-10-12T08:50Z
.
Example:
String d = DateFormat.getDateTimeInstance(DateFormat.ISO_8601).format(date);
``
What is the most elegant way to get ISO 8601 formatted presentation of the current moment, UTC? It should look like: 2010-10-12T08:50Z
.
Example:
String d = DateFormat.getDateTimeInstance(DateFormat.ISO_8601).format(date);
``