title: How to convert date format in React Native?
body: <p>Received date as '20180914' in response from an API and need to format it into 09/14/2018.</p>
  
  <p>Looked around and found that the <code>moment.js</code> is used for date formatting, however, I'm still having trouble with it, as I'm a RN noob :S</p>
  
  <p>I'm using Fetch to get my API and I get the date from <code>{item.segments[0].date2}</code>.</p>
  
  <p>How can I use <code>moment</code> here? Thank you so much for your time.</p>