Created
March 21, 2018 19:16
-
-
Save vialyx/6d9e1a4e4f3751abd2e079c23131be81 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 dateFormatter = DateFormatter() | |
dateFormatter.dateFormat = "DD.MM.YYYY hh:mm:ss" | |
print("Date string: \(dateFormatter.string(from: Date()))") | |
// Date string: 80.03.2018 10:16:07 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment