• 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: Specific Date-Time Formatting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specific Date-Time Formatting


  • Subject: Re: Specific Date-Time Formatting
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 4 Nov 2005 10:26:49 -0700

On Nov 4, 2005, at 4:52 AM, David Marshall wrote:

why not this:

set dayAfterTomorrow to (current date) + 2 * days
set {m, d} to {month, day} of dayAfterTomorrow

Since the OP wanted both the month and day in numerical format:

Whoops; missed that.

set dayAfterTomorrow to (current date) + 2 * days
set {m, d} to {month of dayAfterTomorrow as integer, ¬
	day of dayAfterTomorrow}

Yup. I tried to fit "as integer" inside the braces, with "of dayAfterTomorrow" outside them so it wouldn't have to be typed twice, after reading your suggestion, and I couldn't figure out a way to make it work.


-- Michelle

--
Support our troops.  Set a firm time-table to bring them home!

_______________________________________________
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


  • Follow-Ups:
    • Re: Specific Date-Time Formatting
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Specific Date-Time Formatting (From: David Marshall <email@hidden>)

  • Prev by Date: Re: making applescript wait until shell script finishes
  • Next by Date: Re: Extract from result of current date
  • Previous by thread: Re: Specific Date-Time Formatting
  • Next by thread: Re: Specific Date-Time Formatting
  • Index(es):
    • Date
    • Thread