Added utility.fn_generate_dates function to generate etl batches.