EOQualifier to qualify NSTimestamp by month
EOQualifier to qualify NSTimestamp by month
- Subject: EOQualifier to qualify NSTimestamp by month
- From: Joe Kramer <email@hidden>
- Date: Tue, 1 Jun 2010 15:30:51 -0700
Hi all,
I may be barking up the wrong tree here, but I wanted someone to confirm that for me. I have a simple Person EO with a NSTimestamp attribute for birthdate. I'm wondering if it is possible to create a qualifier to get all the people whose birthday is in a particular month (May, for example). The year doesn't matter so I can't do a simple ">" or "<". If this isn't possible (or efficient) I can change the data model to capture the birth month separately. Then I can just set the month programatically when a new person is created and use that value as the qualifier. Just curious what others think.
Thanks,
Joe Kramer
CyberApps, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden