Claremont, Timothy wrote: > My field name is DOB, and I want to query the list for dates that match > today. Of course, the year will never match. I have tried a bunch of > different ways, but I know there must be a more elegant way!
<rant type="way_off_topic"> Others have already answered your question suitable. Let me just rant that stupid Postgres doesn't have Day() Month() and Year() functions like every other freakin' database in the world. <subrant>MySQL uses DayOfMonth() and didn't add Day() until 4.1</subrant> </rant> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192555 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54