Added start_date and end_date arguments in gen_datetime() generator