code: public static String getStringFromDateTime(Date date) throws ParseException {
          SimpleDateFormat formatter = new SimpleDateFormat(DATE_yyyyMMddTHHmmssSSSZone);
          return formatter.format(date);
      }
docs: Method to convert the given Date to String format
  
  @param date the java.util.Date
  @return the date in string
  @throws ParseException