Re: Subtract 1 month from date
Re: Subtract 1 month from date
- Subject: Re: Subtract 1 month from date
- From: Michelle Steiner <email@hidden>
- Date: Wed, 8 Dec 2004 16:54:09 -0700
On Dec 8, 2004, at 4:37 PM, Eric Geoffroy wrote:
I can say "d + 4 * weeks"
but it won't allow "d + 1 * months
Because a month can have 31, 30, 29, or 28 days.
and won't allow d - 1 * weeks
It works on my machine.
Output should look like this.
11/1/2004...12/1/2004
In Panther, you can do it this way:
set d to (current date)
short date string of d
--> "12/8/04"
(note; this depends on the date format set in the International
preferences panel)
-- Michelle
--
"The right to be heard does not automatically include the right to be
taken seriously." -- Hubert H. Humphrey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden