title: Get value from Date picker
body: <p>I want to get the value from JavaFX datepicker and store the value as Date Object:</p>
  
  <pre><code>final DatePicker datePicker = new DatePicker(LocalDate.now());
  Date date = datePicker.getValue();
  grid.add(datePicker, 1, 9);
  </code></pre>
  
  <p>Can you tell me how I can convert <code>LocalDate</code> to <code>Date</code>?</p>