• 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: timeIntervalSinceDate ????
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timeIntervalSinceDate ????


  • Subject: Re: timeIntervalSinceDate ????
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 27 Sep 2001 10:44:38 +0200

KyooHo,

>>>>>> KyooHo Lee (KHL) wrote at Thu, 27 Sep 2001 10:10:47 +0900:
KHL> /* intervalDate = [currentDate timeIntervalSinceDate:oldDate];
KHL> [secondsField setObjectValue : intervalDate]; */ <= this code???
KHL> }

KHL> I have no idea about how I could use "timeIntervalSinceDate"
KHL> please help me ???

Almost right. Use "setDoubleValue", and you are there (the NSTimeInterval is
a double, which contains the second-based value, like 1.23 for one second,
23 hundreths).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >timeIntervalSinceDate ???? (From: KyooHo Lee <email@hidden>)

  • Prev by Date: Re: Keyboard buffer overrun
  • Next by Date: Re: Keyboard buffer overrun
  • Previous by thread: timeIntervalSinceDate ????
  • Next by thread: Re: timeIntervalSinceDate ????
  • Index(es):
    • Date
    • Thread