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:
"Duane L. Mitchell" <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 22 May 2006 10:19:56 -0400
Content-Type:
text/plain
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