title: How to format get and format Date in DatePicker in Material UI React
body: <p>I have a datepicker and want to get only date in format YYYY-MM-DD. 
  The default datetime format is:</p>
  
  <pre><code>Tue Feb 06 2018 00:00:00 GMT+0200 (FLE Standard Time)
  </code></pre>
  
  <p>How can to format this datepicker ?
  Also how can I change the color of the field to another color, ie the field on which the date is written.</p>
  
  <pre><code>handleChangeDate = (event, date) =&gt; {
  this.setState({
    controllerDate: date
  });
   };
  
  onSubmitHandler(e){
      e.preventDefault();
      console.log(this.state.value)
      console.log(this.state.controllerDate)
    }
  
   &lt;div className="col-md-3"&gt;           
                &lt;DatePicker hintText="Изберете дата" onChange={ this.handleChangeDate } /&gt;
   &lt;/div&gt;
  </code></pre>