On 10 March 2010 10:42, Newb Newb <[email protected]> wrote: > my date field in the varchar datatype >
You're a little bit stuffed then - as comparing greater/less than is comparing strings not times... You can fudge it in your queries (assuming MySQL) using the "str_to_date" function - but roll your sleeves up, as it's gonna be messy! http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html#function_str-to-date -- 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.

