• 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: The latest AS date and AS Editor bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The latest AS date and AS Editor bugs


  • Subject: Re: The latest AS date and AS Editor bugs
  • From: Nigel Garvey <email@hidden>
  • Date: Tue, 11 Jun 2013 14:00:33 +0100

Shane Stanley wrote on Mon, 10 Jun 2013 08:54:15 +0100:

>Let me take another stab at this. I've set my time zone to London, and
I've
>also customized my Medium time string so that it includes the time zone.
>Now I'm going to build a date using the values returned in your result:
>
>set x to current date
>set hours of x to 0
>set minutes of x to 1
>set seconds of x to 14
>set day of x to 1
>set year of x to 1847
>set month of x to 1
>x
>
>And the result I get is this:
>
>date "Thursday, 31 December 1846 23:59:59 GMT-00:01:15"
>
>So the date string matches fine, if you allow for the fact that the time
>zone has changed...

Expect a flood of posts from scripters wanting to know how to manipulate
their users' Medium time string settings.  ;)

Fortunately, the date objects themselves appear to be reliable and
mathematically usable, so I've gone back to occasionally using
extreme-range dates as reference points in date calculations. But of
course I now use non-string methods to set them.

NG


 _______________________________________________
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: The latest AS date and AS Editor bugs
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Are folder actions in 10.8 completely broken?
  • Next by Date: Inhibiting Sleep
  • Previous by thread: Re: The latest AS date and AS Editor bugs
  • Next by thread: Re: The latest AS date and AS Editor bugs
  • Index(es):
    • Date
    • Thread