code: private void updateFromPicker() {
  
          checkTime();
          Date date = m_picker.getValue();
          if (!m_dateOnly) {
              String timeAsString = getTimeText();
              date = CmsDateConverter.getDateWithTime(date, timeAsString);
          }
          setValue(date);
          setErrorMessage(null);
          fireChange(date, false);
      }
docs: Sets the value of the date box.<p>