FSCalendar: how to get dates in two dates?

Viewed 1368

I am using Swift 3, and i would like to print the every day between two dates.

For example:

08-10-2017 -> Start Date

08-15-2017 -> End Date

Should print:

08-10-2017

08-11-2017

08-12-2017

08-13-2017

08-14-2017

08-15-2017

I want to get ranges in two specific date, can someone help me out please. I tried to put these two dates to for loop but no chance.

1 Answers
Related