code: static String formatTime() {
          Date date = new Date();
          DateFormat formatter = BaseTraceFormatter.useIsoDateFormat ? new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ") : DateFormatProvider.getDateFormat();
          StringBuffer answer = new StringBuffer();
          answer.append('[');
          formatter.format(date, answer, new FieldPosition(0));
          answer.append(']');
          return answer.toString();
      }
docs: Return the current time formatted in a standard way
  
  @return The current time