Last active
February 24, 2020 20:06
-
-
Save aoenth/9175ccb4f4e8f494df2d3c51ab039a48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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