• 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: Issues subtracting Unix epoch from date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues subtracting Unix epoch from date


  • Subject: Re: Issues subtracting Unix epoch from date
  • From: Shane Stanley <email@hidden>
  • Date: Sun, 21 Feb 2010 11:04:29 +1100
  • Thread-topic: Issues subtracting Unix epoch from date

On 21/2/10 7:10 AM, "Nathan Vander Wilt" <email@hidden> wrote:

> But I'm getting the impression that within an AppleScript script itself, dates
> are stored (and *calculated*!) internally just as the class is writable
> externally: four numbers YMD+S and some elementary calendar assumptions.
> (Thanks Shane for corroborating on this.)

No, that's not so. It's stored as the number of seconds since some date
(January 1, 1904, rings a bell). It just has no concept of time zone, so you
need to treat it accordingly.

--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>


 _______________________________________________
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: Issues subtracting Unix epoch from date
      • From: Nathan Vander Wilt <email@hidden>
    • Re: Issues subtracting Unix epoch from date
      • From: "email@hidden" <email@hidden>
References: 
 >Re: Issues subtracting Unix epoch from date (From: Nathan Vander Wilt <email@hidden>)

  • Prev by Date: Re: Issues subtracting Unix epoch from date
  • Next by Date: Re: Issues subtracting Unix epoch from date
  • Previous by thread: Re: Issues subtracting Unix epoch from date
  • Next by thread: Re: Issues subtracting Unix epoch from date
  • Index(es):
    • Date
    • Thread