• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: date of question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date of question


  • Subject: Re: date of question
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 13 Oct 2005 12:09:27 -0700


On Oct 13, 2005, at 12:02 PM, Robert Poland wrote:

That code wont' even compile; you can't convert "10/20/05" to a number.

If you change the code to this:

set EventStartDate to "10/20/05"
set EventEndDate to (date EventStartDate) + 3600
EventEndDate

You will then get this result:

date "Thursday, October 20, 2005 1:00:00 AM"

3600 seconds is one hour.

I don't understand what you're trying to do, though.

I'm building a script with choose boxes to create iCal events.

I mean, I don't see what you're trying to get this portion of the script to do.


--
Are you better off today than you were on Jan 20th, 2001?

_______________________________________________
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


References: 
 >date of question (From: Robert Poland <email@hidden>)
 >Re: date of question (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Finder in processes false ?
  • Next by Date: Re: date of question
  • Previous by thread: Re: date of question
  • Next by thread: Re: date of question
  • Index(es):
    • Date
    • Thread