Converting Date to String and back Dates are not your friend, but this extension is. Date String Swift