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:11:25 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
On 5/19/06 11:33 PM  Paul Berkowitz  [log in to unmask]  said:

> set d to (current date)
>     set month of d to February
>     set day of d to 6
>     set year of d to 2007
>     set time of d to (10 * hours)
> 
> That will work no matter what international date and time formats the user
> machine uses.

Good one. This will give me the fixed reference date I need to start with:

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

I need to keep the numbers in the same range.

Thanks.

-Duane Mitchell

ATOM RSS1 RSS2