getPreviousDates will return the fromDate as well