Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First day of the week
Message
De
13/09/2004 06:33:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00941538
Message ID:
00941550
Vues:
8
the DOW function can take a second parameter Start of Week.

So

Function GetStartOfWeek
lPara ldDate
return (ldDate - dow(ldDate, 2) + 1)
endFunc

Is simpler.

Andrew R.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform