title: How to Get Date only or Time only output in react-native
body: <p>I am developing an app in react-native.
  I am using an npm package called react-native-modal-datetime-picker for collecting date. But the output i am getting is mixture of date and time
              'Fri Feb 17 2017 16:06:00 GMT+0530 (IST)'
  How cant collect only date in the format  format="DD-MM-YY" from this.</p>