Newb Newb wrote:
> Hello all,
> 
> I want to compare the below given times.
> 
> from_time = '08:00 am'
> 
> to_time =  '04:30 pm'
> 
> @logtime = "ci.time >= '#{from_time}' and ci.time <= '#...@to_time}'"
> 
> but its not working fine...giving me the wrong results...
> Any other methods or how can i try with..
> pls help me out
> 
> Thank you

the below is my sample data of my date field

01:21:09 pm
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to