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

Re: Data arithmetic


  • Subject: Re: Data arithmetic
  • From: "Michelle Steiner" <email@hidden>
  • Date: Thu, 10 Mar 2005 07:53:30 -0000 (GMT)
  • Importance: Normal

On Thu, March 10, 2005 7:08 am, Christian Vinaa said:
> At 01:52 +0000 10/03/2005, Michelle Steiner wrote:
>>set a to "March 9, 1961"
>>set b to "june 1, 1983"
>>set c to "May 31, 1983"
>>log (date b) + ((date b) - (date a))
>>log (date c) + ((date c) - (date a))
>>
>>(*Tuesday, August 23, 2005 12:00:00 AM*)
>>(*Sunday, August 21, 2005 12:00:00 AM*)
>>
>>Shouldn't the results be only one day apart, not two days?
>
>
> remember;  days are getting longer this time of year   ;-)

*chuckle*  That reminds me; I need to reset the timers for the landscape
lighting.

> seriously;   how is your script entended to work ?
>
> tried it out  and got error code:  not valid date

What veersion of system and Applescript are you using?  I'm using 10.3,8
and Applescript 1.9.3

previous versions required "get" before all but the first date expression.

-- Michelle
 _______________________________________________
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: 
 >Data arithmetic (From: "Michelle Steiner" <email@hidden>)
 >Re: Data arithmetic (From: Christian Vinaa <email@hidden>)

  • Prev by Date: Re: Data arithmetic
  • Next by Date: Re: add name/date to picture
  • Previous by thread: Re: Data arithmetic
  • Next by thread: Re: Data arithmetic
  • Index(es):
    • Date
    • Thread