I have series of time strings like "8:00am", "8:15am", "8:30am" I also have timestamps for these times as keys of the arrays where as times are values so array would be like this:
Note: Timestamps are dummy in this example
array(
144441415=>"8:00am",
1444784744=>8:30am
...
.....
);
I would like to know if hour is whole hour for example "8:00am", "9:00am" are whole hours but "8:45am" or "9:30am" are not whole hours. I would like to filter whole hours from array as mentioned above. Thanks.