NSDateFormatter* formatter = [[NSDateFormatter alloc] init]; [formatter setDateFormat:@\"dd-MM-YYYY HH:mm\"]; [formatter setTimeZone:[NSTimeZone syst
For those who do not get a full month strong with "MMM", you can get it with
dateFormatter.dateFormat = "dd MMMM yyyy"
Tested on Swift 4.2