On 12 March 2010 09:00, Newb Newb <[email protected]> wrote: > i have a time field in my table. it is of varchar data type. > > i want compare the time between given times.
As was previously suggested you should at least consider changing the data type of the field in the db. I did not see any comment from you on this suggestion in the previous thread. Colin > > my stored time format is 09:25:01 am. > > is there any way to compare my time field ? > > i don t have any idea about mysql STR_TO_DATE function.. > will it be usefull for my above problem.. > > please help me up to try it out... > -- > 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. > > -- 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.

