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 10:19:56 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Content-type:
text/plain; charset="US-ASCII"
Subject:
From:
"Duane L. Mitchell" <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
7bit
Parts/Attachments:
text/plain (22 lines)
On 5/21/06 8:10 AM  Nigel Garvey  [log in to unmask]  said:

> The best solution seems to be
> to set the day to a number below 29 first

Good point. This works:

set d to (current date)
set day of d to 1
set year of d to 2003
set month of d to January
set time of d to (0 * hours) + 1

As does this:

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

Thanks.

-Duane Mitchell

ATOM RSS1 RSS2