checking a list of timestamps are between 12 and 1 in the day
===

I have a list of timestamps that represent a list of backed up files. But to reduce the amount of space needed I only want to keep the files that are from around mid day- I have started writing a function check but got stuck on how could i check if the timestamp is between 12 and 1 for that day? I have a list of timestamps for many days.

    function check_date($timestamp='')
    {
    	if (($timestamp < strtotime("-1 week")) && (time is between 12 and 1 )){
    
    	}    
    	else
    		remove 
    
    }