added an example to query date ranges