Query datapoint stream for specific date range

I have a digi gateway that uses web services. I can use the following line to receive the first 1000 results of the data stream:

I receive a page of data with: , , and just to mention a few. I would like to be able to query the data by date or a range of dates but I cannot find an example anywhere. Can anyone help me?