• 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: Human Readable Time snipit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Human Readable Time snipit


  • Subject: Re: Human Readable Time snipit
  • From: Malcolm Fitzgerald <email@hidden>
  • Date: Fri, 13 Oct 2006 11:34:53 +1000

On 13/10/2006, at 12:05 AM, Michelle Steiner wrote:

Seriously, I recall (perhaps falsely) that at one time one had to use 1 * <unit of time> to get it to work. I'm glad that if that had been the case, that it's fixed now.

I remember reading that information in the AppleScript Extras that were distributed with the OS CD around version 8. It was necessary to do that when you wanted to perform date calculations. A bit like using an explicit get.


eg

date "25/11/2006" + 18*days


malcolm

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Human Readable Time snipit (From: "Gary (Lists)" <email@hidden>)
 >Re: Human Readable Time snipit (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: App and droplet
  • Next by Date: Re: App and droplet
  • Previous by thread: Re: Human Readable Time snipit
  • Next by thread: Re: Human Readable Time snipit
  • Index(es):
    • Date
    • Thread