• 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: David Marshall <email@hidden>
  • Date: Fri, 4 Nov 2005 06:52:40 -0500

On Thu, 3 Nov 2005 17:17:43 -0700, Michelle Steiner 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:

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

- - - - -

Dave
_______________________________________________
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>
  • Prev by Date: Re: Password-Dialog
  • Next by Date: Re: How to work with XML data using System Events?
  • Previous by thread: Re: Specific Date-Time Formatting
  • Next by thread: Re: Specific Date-Time Formatting
  • Index(es):
    • Date
    • Thread