I am currently working on a swift project in Xcode.
I am trying to display the system date from the users device in the format of dd MMM.
I currently have
dateLabel.text = DateFormatter.localizedString(from: Date(), dateStyle: DateFormatter.Style.medium, timeStyle:DateFormatter.Style.none)
this is outputting a MMM dd, YYYY to the display,
is there anyway to output this as dd MMM.
thanks in advance