Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Figuring out weekdays
Message
De
15/06/1999 08:42:48
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
14/06/1999 10:30:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00229423
Message ID:
00229899
Vues:
20
>Can anyone tell me an easy way to take out weekends when counting days
>Thanks
>James

Here's a one liner, but it requires the two dates to be weekdays.

? d2-d1 - 2*INT((d2-d1)/7) - 2*IIF(dow(d2, 2) .Signature { margin-top: 12px; color: #666666; } .Signature a { color: #666666; }
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform