• 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: Quickie Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quickie Question


  • Subject: Re: Quickie Question
  • From: Applescript User Kreme <email@hidden>
  • Date: Sat, 30 Mar 2002 13:28:54 -0700

On Saturday, 30 March 2002 email@hidden (Matthew Stuckwisch) is rumored to have Spewed:

>> 3.3. How can I get the month of a date as a number?
>
>set monthNum to do shell script "date +%m"

One very nice (to me) effect of this is that the month is returned as "03" instead of "3."

Woohoo :)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Quickie Question (From: Matthew Stuckwisch <email@hidden>)

  • Prev by Date: Re: Scriptable file utility sought...
  • Next by Date: Re: Quickie Question
  • Previous by thread: Re: Quickie Question
  • Next by thread: Shell script date & time coercions...
  • Index(es):
    • Date
    • Thread