Using actual date ranges provided rather than forming how I made them
Rewriting of date ranges