How to Get Data Between Two Timestamps From an Array

Sometimes programmer/developer need to get data between two timestamps from multidimensional array . Here I have written some sort of code for getting data between two timestamps from multidimensional array. I hope that will be helpful for you!