code: public static String isoDateTime(final Date val) {
      synchronized (isoDateTimeFormat) {
        try {
          isoDateTimeFormat.setTimeZone(Timezones.getDefaultTz());
        } catch (TimezonesException tze) {
          throw new RuntimeException(tze);
        }
        return isoDateTimeFormat.format(val);
      }
    }
docs: Turn Date into "yyyyMMddTHHmmss"
  
  @param val date
  @return String "yyyyMMddTHHmmss"