added input ranges for date and time filtering