code: public String dateToString(Date date, String inputFormat) {
  		return FastDateFormat.getInstance(inputFormat).format(date);
      }
docs: Create a string of the given date using the given format. If the given
  format is invalid, then {@link IllegalArgumentException} is thrown.
  
  @param date The date to create the value from
  @param inputFormat The format to use in formatting the date
  
  @return The string instance representing the date in the given format