set to/from dates in tag retrieval