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

Re: Crashing Script


  • Subject: Re: Crashing Script
  • From: Steve Mills <email@hidden>
  • Date: Fri, 12 Feb 2016 18:17:54 +0000 (GMT)

On Feb 12, 2016, at 11:47 AM, Yvan KOENIG <email@hidden> wrote:

I was not really surprised to get the same date in every sublists.
To get the different values just edit one instruction :

set timePair to {newTime as text, TimeAsText}

Why did this not surprise you? Look at the description for "date":

A date is a date-time, stored internally as a number of seconds since some fixed initial reference date. A date can be mutated in place, and is one of the classes for which set and copy behave differently.


Why, when "set" was used, does the value of newTime appear to be different (and unchanged) than when it is converted to text?
 
Sent from iCloud's ridiculous UI, so, sorry about the formatting

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: Crashing Script
  • Next by Date: Re: Crashing Script
  • Previous by thread: Re: Crashing Script
  • Next by thread: Re: Crashing Script
  • Index(es):
    • Date
    • Thread