cut_data_by_date function

Cut a dataset for analysis at a specified date