code: public static java.sql.Timestamp toTimestamp(String date, String time) {
  		java.util.Date newDate = toDate(date, time);
  
  		if (newDate != null)
  			return new java.sql.Timestamp(newDate.getTime());
  		else
  			return null;
  	}
docs: Converts a date String and a time String into a Timestamp
  
  @param date
  The date String: MM/DD/YYYY
  @param time
  The time String: either HH:MM or HH:MM:SS
  @return A Timestamp made from the date and time Strings