How do I extract a yyyy-mm-dd timestamp from the following?
handleDateChange = e => {}
<Form.Group as = {Col}>
<Form.Control
type = "date"
value = { this.state.closingDate }
onChange = { this.handleDateChange }
/>
</Form.Group>
At the moment e.timeStamp gives me a four or five digit number.