code: public static java.util.Date getDateTime(Object value) {
          try {
              return toDateTime(value);
          } catch (ParseException pe) {
              pe.printStackTrace();
              return null;
          }
      }
docs: Convert an Object to a DateTime, without an Exception