from date in string formate find the date swift code example Example: date format swift MMM d, h:mm a