Re: Issues subtracting Unix epoch from date
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