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

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

  • Follow-Ups:
    • Re: Date pickers
      • From: Deivy Petrescu <email@hidden>
    • Re: Date pickers
      • From: Deivy Petrescu <email@hidden>
References: 
 >Re: Date pickers (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Halting a compiled script
  • Next by Date: Re: Date pickers
  • Previous by thread: Re: Date pickers
  • Next by thread: Re: Date pickers
  • Index(es):
    • Date
    • Thread