This sounds a lot like the wasp in box example I posted awhile back here
based on this rule example comparing two times