51 routines :

*AppleScriptsVanilla*
ascii_to_HTML
Average
Calculator
Calendar
Count_item
cut_text
days_week
EAN13
Encrypt-Decrypt
FactPremier
French_Vanilla_Dotted_Date
French_Vanilla_Dotted_Date2
Hexa_to_Bin
Last_month
list_erase
list_insert
list_replace
ListeDiviseurs
ListePremiers
Minuscule
NombreLong
NombreLong2
NomExtension
num_item
num_month
num_month2
num_week
number_format
number_format2
Paques
PGCD
PGCD2
reverse_string
Roman_to_Arab
round_decimal
search_email
search_replace
search_URL
SepNbre
SepNbre2
snip_text
stat
TauxPermut
TauxTransform
the_left
the_right
TriBulle
TriLineaire
week_and_year
XOR
ZeroDouble

num_month2

Syntaxe

num_month2()
Retourne le mois de la date courante sur 2 chiffres.
Le résultat est au format texte.
Adaptation de "num_month" par Fredo d;o)

Exemple

num_month2()
---> 08

Script

on num_month2()
set the_month to "JanFebMarAprMayJunJulAugSepOctNovDec"
return text -2 thru -1 of ("0" & (offset of (text 1 thru 3 of ¬
(month of (current date) as string)) in mois) div 3 + 1)
end num_month2

Remarque

Une variante de num_month: 2 operateurs (n div 3+1) au lieu de 3 (round n / 3+1).

Site scripté avec HyperCard ©1987-1998 Apple Computer, Inc.
Mise à jour le 19/01/10 à 08:45:57