From sijo at maxxion.com Thu Oct 30 00:00:57 2008 From: sijo at maxxion.com (Sijo) Date: Thu, 30 Oct 2008 09:30:57 +0530 Subject: [Ez-where-devel] format date Message-ID: <49093179.6090305@maxxion.com> Hi I am using ez-where plugin..I have to search tickets between a given start date and end date.The database I am using is postgres...My code like t.created_on <=> (ticket_start_date..ticket_end_date) if !ticket_start_date.nil? and !ticket_end_date.nil? Now suppose i am selecting both dates as same for example 10/30/2008 then my problem i dont get the tickets created on this date.. I tried to format t.created_on to format like mm/dd/yyyy format But not succeeded..Since the data on db in the format 2008-09-26 14:51:25.424991 How can I do this?Please help hanks in advance Sijo