How to find observations of an object during a particular time period