code: public String getAmazonDateString(Date date) {
          SimpleDateFormat simpleDateFormat = new SimpleDateFormat(DATE_FORMAT);
          simpleDateFormat.setTimeZone(TimeZone.getTimeZone(TIME_ZONE));
          return simpleDateFormat.format(date);
      }
docs: Converts a java.util.Date to an AWS specific date format.
  The AWS date should be in (java) format "yyyyMMdd'T'HHmmss'Z'" and in time zone UTC.
  
  @param date Date to be formatted.
  @return A string representing the formatted date.