Skip to content

Instantly share code, notes, and snippets.

@aoenth
Created February 24, 2020 19:10
Show Gist options
  • Save aoenth/91c866d46cca89993dcf69092a8319a8 to your computer and use it in GitHub Desktop.
Save aoenth/91c866d46cca89993dcf69092a8319a8 to your computer and use it in GitHub Desktop.
let formatter = DateFormatter()
formatter.dateFormat = "MMM d, yyyy"
print(formatter.string(from: normalDate))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment