title: How do I get time in react native
body: <p>I am using react-native-modal-datetime-picker library to get the time from the user. But I am getting time with complete date how should i get time from that.
  Following is my code to get time.</p>
  
  <pre><code>    _showDateTimePicker = () =&gt; this.setState({ isDateTimePickerVisible: true });
  
              _hideDateTimePicker = () =&gt; this.setState({ isDateTimePickerVisible: false });
  
              _handleDatePicked = (time) =&gt; {
                  console.log('A time has been picked: ', time);
                  this._hideDateTimePicker();
              };
  
                  &lt;DateTimePicker
                      isVisible={this.state.isDateTimePickerVisible}
                      onConfirm={this._handleDatePicked}
                      onCancel={this._hideDateTimePicker}
                      mode='time'
                  /&gt;
  </code></pre>
  
  <p>I am getting the timePicker coming on screen but after selecting a time it is showing a complete date with selected time but I want only time<br>
  The output I am getting is,</p>
  
  <pre><code>A time has been picked:  Tue Feb 05 2019 12:25:00 GMT+0530 (India Standard Time)
  </code></pre>