Re: A few questions about dates
Re: A few questions about dates
- Subject: Re: A few questions about dates
- From: Doug McNutt <email@hidden>
- Date: Sat, 26 Aug 2006 19:26:26 -0600
At 20:28 -0400 8/26/06, Sweth Chandramouli wrote:
>1) AS stores dates as seconds, but what's the reference that Applescript
>measures those seconds against (i.e. does AS use Unix-style "epoch"
>seconds, or something else)?
They are epoch seconds except that the epoch is Jan 1, 1904. That's four years and one day different from Microsoft's Jan 0 1900. It was surely chosen to avoid the problems associated with 1900 NOT being a leap year.\
On this 8500 running OS 9.1 MPW returns these.
date -n
3239464666
date
Saturday, August 26, 2006 19:17:40
The UNIX epoch starts at Jan 0, 1970 but the date tool won't produce it. Perl can.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden