From: Ryan Davis Date: 2012-10-06T09:31:25+09:00 Subject: Re: Ruby range - verify if date lies between two specified dates On Oct 5, 2012, at 17:16 , ideal one wrote: > irb(main):005:0> range = (today..seven) Maybe it is the superfluous parenthesis... :P `ri Range` ranges have a start and an end and go forward. Your range goes backwards. So your range starts at today and sees that it is > the date in question and replies with false. range = seven..today