Skip to content

Instantly share code, notes, and snippets.

@aoenth
Last active Feb 24, 2020
Embed
What would you like to do?
let formatter = DateFormatter()
formatter.dateFormat = "MMM d, yyyy"
formatter.calendar = .init(identifier: .chinese)
formatter.dateStyle = .full
print(formatter.string(from: normalDate))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment