• 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: Matthew Stuckwisch <email@hidden>
  • Date: Sat, 30 Mar 2002 11:56:50 -0600

3.3. How can I get the month of a date as a number?

set monthNum to do shell script "date +%m"

I assume that you are doing this on OSX though. Shell scripts can be extremely helpful sometimes. For more information on the "date" command, type in "man date"


Matthew Stuckwisch
[AIM/MSN]{GuifaSwimmer} | [Yahoo!]{SapphireTree} | [ICQ]{137477701}
[IRC]{guifa / G}(esperNET / irc.massinova.com)
_______________________________________________
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.

  • Follow-Ups:
    • Shell script date & time coercions...
      • From: Mr Tea <email@hidden>
    • Re: Quickie Question
      • From: Applescript User Kreme <email@hidden>
References: 
 >Re: Quickie Question (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: scripting apps in packages with OS 9.0.4?
  • Next by Date: Popup buttons
  • Previous by thread: Re: Quickie Question
  • Next by thread: Re: Quickie Question
  • Index(es):
    • Date
    • Thread