title: how to convert yyyy-mm-dd hh:mm:ss to mm-dd-yyyy hh:mm am/pm in react native
body: <p>I have a string as 2018-10-15 11:40:39 and I have to convert this into a string like 10-15-2018 11:40 AM. i'm beginner in react native.</p>