Re: Counting & trashing
Re: Counting & trashing
- Subject: Re: Counting & trashing
- From: Nigel Smith <email@hidden>
- Date: Tue, 13 Jul 2004 16:56:37 +0100
On 13/7/04 15:04, "Axel Luttgens" <email@hidden> wrote:
>
From the ASLG:
>
More recent date and time utilities use a 64-bit signed value that
>
can represent dates from 30081 B.C. to 29940 A.D. However,
>
AppleScript currently will not handle dates before 1/1/1000
Not strictly true, at least in OSX 10.3.x, though it doesn't handle BC
particularly well:
For example:
log (date "Wednesday, January 1, 1000 0:00:00") - 364877 * days
--> date "Monday, January 1, 0001 0:00:00"
log (date "Wednesday, January 1, 1000 0:00:00") - 364878 * days
--> date "Sunday, December 31, 0001 0:00:00"
So you can get earlier dates than 1/1/1000 on the fly, just not hard-coded.
I think... :-)
Later,
Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.