• 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: Counting & trashing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Counting & trashing
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Re: Counting & trashing (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Extract Text From Spreasheets
  • Next by Date: Launching an AppleScript from a Local Browser Page
  • Previous by thread: Re: Counting & trashing
  • Next by thread: Re: Counting & trashing
  • Index(es):
    • Date
    • Thread