I'm used to bringing state up but this value is from the component DatePicker & TimePicker, how could I possibly raise it to a parent component or event read it in the component DatePicker & TimePicker is called in?

I'm following [alex's](https://medium.com/@alxsanborn/material-ui-date-picker-and-time-picker-930df28dc1d7) implementation. `console.log(this.state.date this.state.time)` throws `undefined`

```
import React from "react";
import DateFnsUtils from "@date-io/date-fns";
import "./PickerBackdrop.css";
import {
  DatePicker,
  TimePicker,
  DateTimePicker,
  MuiPickersUtilsProvider
} from "@material-ui/pickers";

class PickerDrawer extends React.Component {
  constructor(props) {
    super(props);

    this.state = {
      date: null,
      time: null
    };
    this.handleDate = this.handleDate.bind(this);
    this.handleTime = this.handleTime.bind(this);
  }
  handleTime(event, time) {
    this.setState({ time: time });
  }

  handleDate(event, date) {
    this.setState({ date: date });
  }

  render() {
    return (
      <div>
        <MuiPickersUtilsProvider utils={DateFnsUtils}>
          <DatePicker
            label="Due Date"
            value={this.state.date}
            onChange={this.handleDate}
            animateYearScrolling
            style={{ fontSize: "26px" }}
            showTodayButton={true}
            disablePast={true}
          />
          <TimePicker
            label="Time"
            value={this.state.time}
            onChange={this.handleTime}
            animateYearScrolling
            className=""
          />
        </MuiPickersUtilsProvider>
      </div>
    );
  }
}
export default PickerDrawer;

```

There were some related stackoverflow [questions about Material UI](https://stackoverflow.com/questions/46950659/get-value-of-2-composant-datepicker-in-onchange-reactjs) DatePicker & TimePicker, but I didn't understand the answers... sorry