Formatting date/time pulled from QBO Metadata when updating a Google Sheet

I’m trying to update a google sheet with date/time which I’m pulling from QBO Metadata create time field. I am trying to format the date before posting it in google sheet but I’m getting a weird date/time posted. It’s not always but happens sporadically.