• 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: "Mark J. Reed" <email@hidden>
  • Date: Fri, 4 Nov 2005 12:38:42 -0500

On 11/4/05, Michelle Steiner <email@hidden> wrote:
> 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.

How about this?

tell current date + 2 * days
    set m to its month as integer
    set d to day
end
 

-- 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

This email sent to
email@hidden



--
Mark J. Reed <email@hidden>
 _______________________________________________
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: Michelle Steiner <email@hidden>
References: 
 >Re: Specific Date-Time Formatting (From: David Marshall <email@hidden>)
 >Re: Specific Date-Time Formatting (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Extract from result of current date
  • Next by Date: Re: Specific Date-Time Formatting
  • Previous by thread: Re: Specific Date-Time Formatting
  • Next by thread: Re: Specific Date-Time Formatting
  • Index(es):
    • Date
    • Thread