What is the right way to insert or write today’s date in Core Data?   I tried many things, but basically:     func today1() {         let date = Date()         let calendar = Calendar.current                let day = calendar.component(.day, from: date)         let…