Re: date of question
Re: date of question
- Subject: Re: date of question
- From: Robert Poland <email@hidden>
- Date: Thu, 13 Oct 2005 13:07:26 -0600
On 10/13/05 11:13 AM, "Robert Poland" <email@hidden> wrote:
Trying to get date of "10/20/05".
set EventStartDate to "10/20/05"
set EventEndDate to (EventStartDate) + 3600
EventEndDate
I think I have learned how to get any part of a date but can't figure
out how to go back.
You left out 'date' before your short date string, so it hasn't compiled as
a date. You can't use a string. You can't really do AppleScript at all
without knowing that.
set EventStartDate to date "10/20/05"
set EventEndDate to (EventStartDate) + 3600
EventEndDate
--> date "Thursday, October 20, 2005 1:00:00 AM"
--
Paul Berkowitz
I appreciate all of the helpful answers I received.
But no one noticed that I had tried "date of" rather that "date" as
implied by the subject line.
So much for English like language.
Thanks all,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
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