title: How to get value of Form.Control - React Bootstrap Date Picker?
body: <p>I have this datepicker below. How can I save the value of the input date the user chooses in a const so that I can later use? I apologize if the question is beginner-ish.</p>
  <pre><code>import React from 'react'
  import { Form } from 'react-bootstrap';
  
  class BootstrapDate extends React.Component{
  
      render(){
  
          return(
              &lt;div&gt;
                  &lt;div className=&quot;row&quot;&gt;
                      &lt;div className=&quot;col-md-12&quot;&gt;
                          &lt;Form.Group controlId=&quot;duedate&quot;&gt;
                              &lt;Form.Control type=&quot;date&quot; name=&quot;duedate&quot; placeholder=&quot;Due date&quot; /&gt;
                          &lt;/Form.Group&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          )
      }
  
  }
  
  export default BootstrapDate;
  </code></pre>