code: private FileTime convertDateToFileTime(String strDate) {
          FileTime time = null;
          if (null != strDate) {
              Date date = null;
              try {
                  date = DateUtil.convertToDate(strDate,
                                                DateUtil.DateFormat.LONG_FORMAT);
              } catch (ParseException e) {
                  date = null;
              }
  
              if (null != date) {
                  time = FileTime.fromMillis(date.getTime());
              }
          }
          return time;
      }
docs: /*
  Converts a date in LONG string format to a FileTime object