Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift date plus1 day

var dayComponent    = DateComponents()
dayComponent.day    = 1
let theCalendar     = Calendar.current
let nextDate        = theCalendar.date(byAdding: dayComponent, to: Date())
print("nextDate : (nextDate)")
 
PREVIOUS NEXT
Tagged: #swift #date #day
ADD COMMENT
Topic
Name
9+3 =