MACSCRPT Archives

November 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Sun, 19 Nov 2006 00:21:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Current date - date "january 1, 1904"
--3.246740369E+9

((current date) - (date "Friday, January 1, 1904 12:00:00 AM")) / days
3.75780138310185E+4

((current date) - (date "Friday, January 1, 1904 12:00:00 AM")) /  
days / 365.24
102.887

102+1904 = 2006


On Nov 19, 2006, at 12:00 AM, Marc Bossiere wrote:

> In HyperTalk one can get the "seconds" from 1/1/1904 or something  
> like that.
> Is the a way to get the same thing in Applescript, which can then  
> be used to
> convert to dates and intervals of time?
>
-Mark
Who just saw the blue man group.

ATOM RSS1 RSS2