Ios swift – Convert Date to string showing wrong "2023-07-11 9:07:51U202fPM" iOS17
I am converting the UTC date to a string. when the date convert to string successfully it is showing "2023-07-11 9:07:51U202fPM".dont know why its added unicode in the string. func toString(formateType type: DateFormate) -> String { let dateFormatter = DateFormatter()…