I don't think that's possible at all. Take for example the values 4:15, 4:55, 5:30, with hashes X, Y and Z. 4:55 is within the past hour of both 4:55 and 5:30, so Y must be equals to Z. However, 4:15 is withing the past hour of 4:55, but not of 5:30, so X must be equals to Y and different from Z.
Better avoid hashes and do as katrielalex suggested, storing the datetime (or timedelta) and using that in your checks.
Update: Seems I misundestood you, you want hashes for crypto, not for storing things in a hash table for quick access... Maybe if you provide more details of your needs we can help you better, like who will construct the hash, who will check the hash, against what, etc.
There aren't many minutes in an hour, even many seconds, so in principle you could simply hash the initial time (truncated to the nearest minute/second) and, to see if the hash is still valid, take the current time and check the hashes of every minute/second before that. A naïve solution, but can be a starting point for something better.