Re: Create a folder with today's date as the folder name
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.