adding option to handle range of dates for wms requests