A Working ChronicBetween Example

t = Time.now  
#=> 2015-03-04 18:11:18 +0000 

def t.within?(times)
  ChronicBetween.new(times).within? self
end

time.within? '9am - 10am'
#=> false

time.within? '9am - 10pm'
#=> true

Resources