Thanks for reply Shripad;

Db is Mysql. Following is the sql running for the last query:
 'select paydate,payamount,credit,paymenttype,memberid from payments 
where paydate between '2008-10-09T14:22:00+00:00' AND 
'2008-10-10T14:22:00+00:00'

Format in db is 2003-10-14 12:37:51

Katsuo
-- 
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 rubyonrails-talk@googlegroups.com
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