Re: Date pickers
Re: Date pickers
- Subject: Re: Date pickers
- From: Shane Stanley <email@hidden>
- Date: Wed, 10 Mar 2010 10:44:53 +1100
- Thread-topic: Date pickers
On 10/3/10 10:32 AM, "Deivy Petrescu" <email@hidden> wrote:
> How do you use that.
> I can not make it work.
Assuming you have an NSDate, presumably it's something like:
set newNSDate to oldNSDate's dateByAddingTimeInterval(24 * 60 * 60)
>
> Also, there is another method:
>
> - (id)initWithTimeInterval:(NSTimeInterval)seconds sinceDate:(NSDate *)refDate
>
> Can you use this with ASOC? How?
Probably:
set newNSDate to current application's NSDate's alloc()'s
initWithTimeInterval_sinceDate_(24 * 60 *60, oldNSDate)
--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden