• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Correct format for date qualifier in EO Modeler?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct format for date qualifier in EO Modeler?


  • Subject: Re: Correct format for date qualifier in EO Modeler?
  • From: Art Isbell <email@hidden>
  • Date: Sat, 20 Mar 2004 22:27:20 -1000

On Mar 20, 2004, at 7:02 PM, Ray Ackland wrote:

If I enter the qualifier as (date > "2002-01-01") then the quotation marks get included in the fetch and no records are returned (the fetch doesn't even seem to complete).

I know to you and me, "2002-01-01" looks like a date, but to EOF it looks like a plain old string. Try something like this (untested):

NSTimestamp date = new NSTimestamp(2002, 1, 1, 0, 0, 0, null);
EOQualifier qualifier = EOQualifier.qualifierWithQualifierFormat("date > %@", new NSArray(date));


Aloha,
Art
_______________________________________________
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.


References: 
 >Correct format for date qualifier in EO Modeler? (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: File Upload and Download Questions..
  • Next by Date: Re: Stumped by nonfunctioning repetition
  • Previous by thread: Correct format for date qualifier in EO Modeler?
  • Next by thread: Where does the timestamp information come from?
  • Index(es):
    • Date
    • Thread