jaco-g
8/9/2017 - 10:27 AM

From https://stackoverflow.com/questions/41435857/convert-string-to-date-type-in-swift-3

    dateFormatter.dateFormat = "MMM d, yyyy" //Your New Date format as per requirement change it own
    let newDate = dateFormatter.string(from: date!) //pass Date here
    print(newDate) //New formatted Date string