code: public String getTimeNow() {
      SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ", Locale.ROOT);
      return format.format(new Date());
    }
docs: /*
  Returns the current time in ISO format.