Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Days of year
Message
De
29/12/2005 12:29:01
 
 
À
29/12/2005 12:24:56
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
01081717
Message ID:
01081720
Vues:
7
Hi,
FUNCTION NoOfDaysInYear(lnYear)
 RETURN DATE(lnYear+1,1,1) - DATE(lnYear,1,1)
ENDFUNC

lnDays = NoOfDaysInYear(2005)
?INT(lnDays/11), MOD(lnDays,11)
?!

Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform