public static Date StringToDate(String data) {
        if (data == null || data.equals("")) {
            return null;
        }

        Date date = null;
        try {
            DateFormat formatter = new SimpleDateFormat("dd/MM/yyyy HH:mm");
            date = (java.util.Date) formatter.parse(data);
        } catch (ParseException e) {
        }
        return date;
    }