Hey every one.

My problem is simple to understand but I can't find an answerd. I want
to filter records by month, meaning that if in my APP the user ask for
record with Month 01 (January), the search will return exaclty those
records, but I can't find a way to compare the month on a DATE field
with the month given.

PseudoCode would be something like

SELECT * FROM record WHERE MONTH(record.date) = $month

Any help or orientation may help.

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to