📅  最后修改于: 2022-03-11 15:00:59.294000             🧑  作者: Mango
var dayComponent = DateComponents()
dayComponent.day = 1
let theCalendar = Calendar.current
let nextDate = theCalendar.date(byAdding: dayComponent, to: Date())
print("nextDate : \(nextDate)")