Skip to content

Instantly share code, notes, and snippets.

@vialyx
Created September 11, 2018 15:45
Show Gist options
  • Save vialyx/180627e572c821cf12b23e9dcba8afa2 to your computer and use it in GitHub Desktop.
Save vialyx/180627e572c821cf12b23e9dcba8afa2 to your computer and use it in GitHub Desktop.
var date = Date(timeIntervalSince1970: 50 * 365 * 24 * 60 * 60)
print("date: \(date)")
// console: date: 2019-12-20 00:00:00 +0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment