• 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: "Serge Belleudy-d'Espinose" <email@hidden>
  • Date: Mon, 11 Feb 2002 12:01:23 +0100

At 12:57 +1100 11/02/02, Shane Stanley wrote:

> set theMonth to text 1 through 3 of (month of (current date) as text)
> set allTheMonths to "JanFebMarAprMayJunJulAugSepOctNovDec"
> set monthInteger to ((offset of theMonth in allTheMonths) + 2) div 3

But it is language dependent, which I guess rules it out for Has's use in a
mod.

It's not language- nor local time & date settings- dependent. 'month of' will always return the month name in english, which makes it suitable for a universal method.


Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod - Jussieu
// // // http://www.ijm.jussieu.fr/ Universites Paris VI, VII - CNRS
//\//\//\\
_______________________________________________
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: Create a folder with today's date as the folder name (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Since Apple Listens to this List...
  • Next by Date: (no subject)
  • 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