refactor to process a date range, getting data from LaTIS
another time utility