code: public static java.util.Date toDate(int month, int day, int year, int hour, int minute, int second) {
  		Calendar calendar = Calendar.getInstance();
  
  		try {
  			calendar.set(year, month - 1, day, hour, minute, second);
  		} catch (Exception e) {
  			return null;
  		}
  		return new java.util.Date(calendar.getTime().getTime());
  	}
docs: Makes a Date from separate ints for month, day, year, hour, minute, and
  second.
  
  @param month
  The month int
  @param day
  The day int
  @param year
  The year int
  @param hour
  The hour int
  @param minute
  The minute int
  @param second
  The second int
  @return A Date made from separate ints for month, day, year, hour,
  minute, and second.