See below for examples on the new date pickers from swiftui 2.
struct ContentView: View { @State var date: Date = Date()