• 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/Snow Leopard changed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date/Snow Leopard changed


  • Subject: Re: date/Snow Leopard changed
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 06 Sep 2009 23:13:47 -0700
  • Thread-topic: date/Snow Leopard changed

Title: Re: date/Snow Leopard changed
On 9/6/09 6:32 PM, "email@hidden" <email@hidden> wrote:

More longwinded than the Hypertalk example but should get the job done?

Slightly shorter-winded, perhaps:

set TestDate to current date
tell
TestDate to set {its year, its month, its day, its hours, its minutes, its seconds} to {2000, 1, 2, 3, 4, 5}

It makes no difference what order you put the lists, as long as the value you want corresponds to the same position in the property list, of course. It makes no difference what international date and time string formats pertain on your computer. It will be the same actual date and time for everyone. I'm a little puzzled, too, that some people apparently did not follow this when Chris referred to the date object. I guess his PS where he wanted to correct a statement made in the 10.6 Release Notes, to show us exactly how strict and how flexible the new rules for forming date strings are, obscured the issue for some.

--
Paul Berkowitz
 _______________________________________________
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

  • Follow-Ups:
    • Re: date/Snow Leopard changed
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: date/Snow Leopard changed (From: email@hidden)

  • Prev by Date: Re: date/Snow Leopard changed
  • Next by Date: Re: date/Snow Leopard changed
  • Previous by thread: Re: date/Snow Leopard changed
  • Next by thread: Re: date/Snow Leopard changed
  • Index(es):
    • Date
    • Thread