• 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:49:45 -0700


On Nov 4, 2005, at 10:38 AM, Mark J. Reed wrote:

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

Or this:

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

Comment/question for Chris Nebel (or anyone else who can answer): why does "month" require "its" but day doesn't require "its"? (Even without "as integer", "month" requires "its"; without "its" it returns "month" as a key word, but with "its", it returns the name of the month.)

-- Michelle

--
I am Dyslexic of Borg. Fusistance is retile. Your ass will be laminated.

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

  • Prev by Date: Re: Specific Date-Time Formatting
  • 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