How to store a Date using AppStorage
By default, @AppStorage property wrapper supports Int, String, Double, Data, or URL values. You can store other...
The Date is a basic struct in Swift. It stores a point in time that is independent of any calendar or timezone. You can use many of the predefined methods and properties to perform basic operations on dates.