• 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
comparing 2 timestamps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

comparing 2 timestamps


  • Subject: comparing 2 timestamps
  • From: Christian Telepski <email@hidden>
  • Date: Tue, 26 Oct 2004 15:44:53 +0200

Hi,

i am using timestamps in my apps quite a while with success.
There are lots of queries where i have to show all entries with a timestamp before or after a timestamp.

This works fine if i filter the array using:

EOQualifier.filterArrayWithQualifier(someList, EOQualifier.qualifierWithQualifierFormat ("'", null));

but now i can not this kind of filtering.

I need to know if a particular timestamp is before or after an other timestamp like:

if (apeople.timestamp2()>login1.timestamp())

but this does not work!

I have tried everything like comparing only the "toString's" but nothing worked (operator < cannot be applied to...)

Please help!

Thanks in advance and best regards,

Christian Telepski
 _______________________________________________
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

  • Follow-Ups:
    • Re: comparing 2 timestamps
      • From: Hugi Thordarson <email@hidden>
  • Prev by Date: WOTabPanel and text style
  • Next by Date: Re: comparing 2 timestamps
  • Previous by thread: Re: WOTabPanel and text style
  • Next by thread: Re: comparing 2 timestamps
  • Index(es):
    • Date
    • Thread