Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date Calculator
Message
De
14/01/2000 14:14:14
 
 
À
13/01/2000 15:21:56
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00317879
Message ID:
00318258
Vues:
17
Hullo Steven,

I did this (in DOS days) by having the user input holiday dates into a .dbf file, then automatically adding Saturdays and Sundays (or others) to the file up to the last holiday date entered. The file must then be sorted into date order and indexed on the date.
To find the working days between two dates, subtract earlier from later and then further subtract the difference in the record numbers found by seeking each date (with near on) to eliminate the non working days, adding the odd one somewhere for inclusive/exclusive periods.

Good luck.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform