MACSCRPT Archives

November 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

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

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

Print Reply
Mime-Version:
1.0 (Apple Message framework v752.2)
Content-Type:
text/plain; charset=US-ASCII; delsp=yes; format=flowed
Date:
Sun, 19 Nov 2006 00:21:33 -0500
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
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