Skip to content

Instantly share code, notes, and snippets.

@aoenth
Created February 24, 2020 19:09
Show Gist options
  • Save aoenth/ac3b673daebe2467fc4ee6d201597e16 to your computer and use it in GitHub Desktop.
Save aoenth/ac3b673daebe2467fc4ee6d201597e16 to your computer and use it in GitHub Desktop.
let calendar = Calendar(identifier: .gregorian)
let normalDate = calendar.date(from: normalCalendarDateComponents)!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment