MACSCRPT Archives

May 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
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Mime-version:
1.0
Date:
Mon, 22 May 2006 08:27:25 -0700
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Content-type:
text/plain; charset="US-ASCII"
Subject:
From:
Paul Berkowitz <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Parts/Attachments:
text/plain (22 lines)
On 5/22/06 7:19 AM, "Duane L. Mitchell" <[log in to unmask]> wrote:

> set time of d to (0 * hours) + 1

set time of d to 1

'time' part of dates is measured in seconds. A plain old 1 is what you want
with this method.

> 
> As does this:
> 
> tell (current date) to set {day, year, its month, day, time, d} to {1, 2003,
> January, 1, 0 * hours + 1, it}

tell (current date) to set {day, year, its month, day, time, d} to {1, 2003,
January, 1, 1, it}


-- 
Paul Berkowitz

ATOM RSS1 RSS2