This was also my question before, I have easily overcome this by using the Moment.js.
It is easy to use and very understandable. Also, you can easily convert the patterns all together very simply.
Documentation on Moment.js
I don't know if your project is HTML and Javascript (or you are using node or ...), you can simply download (or install the package) the Moment.js and after including it in your project, the only thing you need to do is:
var bDate = "1997-03-23T08:00Z"
var newBDate = moment(bDate, "YYYY-MM-DDTHH:mm[Z]").format('M/DD/YYYY');
//Or you can use any other final date format as you want
console.log(newBDate)
This will help users to easily convert to any time format they want.