Hi all,

I want your help for comparing date.

In my database, I have 1 column named "start_time" and it's type is
"datetime".

Now, I want to display records by comparing date only. Time need to be
ignored while comparing. I dont know how to do this using criteria.

$c_iti  = new Criteria();
$c_iti->add(ItineraryPeer::START_TIME,$start_time);
$itinerary_list = ItineraryPeer::doSelect($c_iti);

Can anybody help me?

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to