Re: How to query a date in a MySQL database?
Re: How to query a date in a MySQL database?
- Subject: Re: How to query a date in a MySQL database?
- From: Ricardo Strausz <email@hidden>
- Date: Fri, 25 Apr 2003 15:36:23 -0600
look for
file://localhost/System/Library/Frameworks/Foundation.framework/
Versions/C/Resources/English.lproj/Documentation/Reference/
ObjC_classic/Classes/NSCalendarDate.html#//apple_ref/occ/instm/
NSCalendarDate/setCalendarFormat:
to lear how to set the calendar format; then a simple initWithDate or
toString methods will use any format you wish.
Suerte!
On viernes, abri 25, 2003, at 10:59 America/Mexico_City, Kitwana Akil
wrote:
I have a model with a table that has the following column:
Attribute name: date
Value Class: NSCalendarDate
External Type: Date
How do I search this column so that I can return results from a string
enter for a search. For example:
User enters: "Apr 21, 2003"
I want to return results based on all rows in the database that are
equal to this date. Can someone explain how to convert the date into
a form that I can use to query the database.
Kitwana
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
Dino
http://homepage.mac.com/strausz
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.