• 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: Another question on dates and times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another question on dates and times


  • Subject: Re: Another question on dates and times
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 4 Dec 2007 22:25:11 -0700

On Dec 4, 2007, at 7:38 PM, Clint Hoxie wrote:

Here is the code.

--Set variable for default to current date plus one day
set TomorrowDate to (month of (current date)) + 60 * 60 * 24 & "/" & (day of (current date)) + 60 * 60 * 24 & "/" & (year of (current date)) + 60 * 60 * 24\

set tomorrowDate to date string of ((current date) + 1 * days) display dialog "Enter event date:" default answer tomorrowDate

-- Michelle

--
If you're not going somewhere, you're not getting anywhere.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Another question on dates and times (From: Clint Hoxie <email@hidden>)

  • Prev by Date: Re: Wow, AppleScript is tough!
  • Next by Date: Re: Another question on dates and times
  • Previous by thread: Re: Another question on dates and times
  • Next by thread: Re: Another question on dates and times
  • Index(es):
    • Date
    • Thread