question: public static String dateTimeFormat ( long dateTime ) { DateFormat iso8601 = new SimpleDateFormat ( "yyyy-MM-dd'T'HH:mm:ss'Z'" , Locale . US ) ; iso8601 . setTimeZone ( UTC ) ; return iso8601 . format ( dateTime ) ; }
target:  Formats a given date+time value to an ISO 8601 string.