Return data in array if two or more timestamps are given