Skip to content

Instantly share code, notes, and snippets.

@leeyspaul
Created December 8, 2021 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leeyspaul/dde862bfb6f0c222340facececd11c1f to your computer and use it in GitHub Desktop.
Save leeyspaul/dde862bfb6f0c222340facececd11c1f to your computer and use it in GitHub Desktop.
Date in SwiftUI
// creates the Date object which gives to you the current date in your systems locale.
let date: Date = Date()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment