Re: timeIntervalSinceDate ????
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