• 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: Create a folder with today's date as the folder name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create a folder with today's date as the folder name


  • Subject: Re: Create a folder with today's date as the folder name
  • From: Applescript User Lewis <email@hidden>
  • Date: Sun, 10 Feb 2002 23:38:47 -0700

At 18:43 -0700 10/02/02, Michelle Steiner wrote:
set allTheMonths to "JanFebMarAprMayJunJulAugSepOctNovDec"
set monthInteger to ((offset of (text 1 through 3 of (month of (current
date) as text)) in allTheMonths) + 2) div 3

That's nice. It's _still_ a kludge and I _still_ don't understand why Applescript doesn't have a "month of (current date) as integer" command.

The question is, is it faster than the 12 if statements?


--
___________________________________________________________________________
| applescript@ & "southgaylord.com"| Unix is very user friendly. It's just |
| I frankly do not believe Micro- | picky about who its friends are. |
| soft has the user's interests at | I want a party where all the women wear|
| heart, or even in mind. | new dresses and the men all drink beer.|
---------------------------------------------------------------------------
_______________________________________________
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.

  • Prev by Date: Re: date 0
  • Next by Date: Re: date 0
  • Previous by thread: Re: Create a folder with today's date as the folder name
  • Next by thread: Re: Create a folder with today's date as the folder name
  • Index(es):
    • Date
    • Thread