code: public static String timeStampToString(final Timestamp timestamp, final String format) {
          return dateToString(new Date(timestamp.getTime()), format);
      }
docs: Time stamp to string.
  
  @param timestamp
  the timestamp
  @param format
  the format
  @return the string