Created
April 7, 2019 12:24
-
-
Save e-sung/3e36caed7d8b6077f5ac272e962b4b00 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 dateFormat = DateFormatter() | |
dateFormat.dateFormat = "yyyy/MM/dd/HH/mm/ss" | |
print(dateFormat.date(from: "20160610090000")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment