code: public static String
  format(Date date) {
  	Calendar c = new GregorianCalendar(TimeZone.getTimeZone("UTC"));
  	StringBuffer sb = new StringBuffer();
  
  	c.setTime(date);
  	sb.append(w4.format(c.get(Calendar.YEAR)));
  	sb.append(w2.format(c.get(Calendar.MONTH)+1));
  	sb.append(w2.format(c.get(Calendar.DAY_OF_MONTH)));
  	sb.append(w2.format(c.get(Calendar.HOUR_OF_DAY)));
  	sb.append(w2.format(c.get(Calendar.MINUTE)));
  	sb.append(w2.format(c.get(Calendar.SECOND)));
  	return sb.toString();
  }
docs: Converts a Date into a formatted string.
  @param date The Date to convert.
  @return The formatted string.