MACSCRPT Archives

May 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:
Paul Berkowitz <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 22 May 2006 08:27:25 -0700
Content-Type:
text/plain
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